java.lang.Object
java.io.Writer
java.io.FilterWriter
com.sun.xml.ws.util.MessageWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
Filter suppressing sending binary data to the underlying stream.
Methods in this filter throw
UtilException
if the limit
number of bytes was already written to given out
.-
Field Summary
Fields inherited from class java.io.FilterWriter
out
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MessageWriter
Create a new filtered writer.- Parameters:
out
- a Writer object to provide the underlying stream.limit
- max number of bytes to send toout
- Throws:
NullPointerException
- ifout
isnull
-
-
Method Details
-
println
- Throws:
IOException
-
println
- Throws:
IOException
-
println
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-