|
DthingApi
|
Public Member Functions | |
| PrintStream (OutputStream out) | |
| PrintStream (OutputStream out, boolean autoFlush) | |
| PrintStream (OutputStream out, boolean autoFlush, String enc) throws UnsupportedEncodingException | |
Public Member Functions inherited from java.io.FilterOutputStream | |
| FilterOutputStream (OutputStream out) | |
| void | close () throws IOException |
| void | flush () throws IOException |
| void | write (byte[] buffer, int offset, int length) throws IOException |
| void | write (int oneByte) throws IOException |
Public Member Functions inherited from java.io.OutputStream | |
| OutputStream () | |
| void | close () throws IOException |
| void | flush () throws IOException |
| void | write (byte[] buffer) throws IOException |
| void | write (byte[] buffer, int offset, int count) throws IOException |
| abstract void | write (int oneByte) throws IOException |
Additional Inherited Members | |
Protected Attributes inherited from java.io.FilterOutputStream | |
| OutputStream | out |
Wraps an existing OutputStream and provides convenience methods for writing common data types in a human readable format. This is not to be confused with DataOutputStream which is used for encoding common data types so that they can be read back in. No
is thrown by this class. Instead, callers should use checkError() to see if a problem has occurred in this stream.
|
inline |
Constructs a new
with
as its target stream. By default, the new print stream does not automatically flush its contents to the target stream when a newline is encountered.
| out | the target output stream. |
| NullPointerException | if is null |
|
inline |
Constructs a new
with
as its target stream. The parameter
determines if the print stream automatically flushes its contents to the target stream when a newline is encountered.
| out | the target output stream. |
| autoFlush | indicates whether to flush contents upon encountering a newline sequence. |
| NullPointerException | if is null |
|
inline |
Constructs a new
with
as its target stream and using the character encoding
while writing. The parameter
determines if the print stream automatically flushes its contents to the target stream when a newline is encountered.
| out | the target output stream. |
| autoFlush | indicates whether or not to flush contents upon encountering a newline sequence. |
| enc | the non-null string describing the desired character encoding. |
| NullPointerException | if or enc null |
| UnsupportedEncodingException | if the encoding specified by enc |
1.8.13