public class StdoutStream extends StreamImpl
_nullPath, _path| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canWrite()
The standard-output stream returns true since it's writable. 
 | 
static StdoutStream | 
create()
Returns the StdoutStream singleton 
 | 
void | 
write(byte[] buf,
     int offset,
     int length,
     boolean isEnd)
Writes the data to the System.out. 
 | 
canRead, clearWrite, close, closeWrite, flush, flushBuffer, flushToDisk, getAttribute, getAttributeNames, getAvailable, getFlushOnNewline, getNewline, getPath, getReadBuffer, getReadPosition, hasSkip, isClosed, isEof, isMmapEnabled, isSendfileEnabled, read, readNonBlock, readTimeout, removeAttribute, seekEnd, seekStart, setAttribute, setPath, setWriteEncoding, skip, write, writeMmap, writeSendfilepublic static StdoutStream create()
public boolean canWrite()
canWrite in class StreamImplpublic void write(byte[] buf,
                  int offset,
                  int length,
                  boolean isEnd)
           throws java.io.IOException
write in class StreamImplbuf - the buffer to write.offset - starting offset in the buffer.length - number of bytes to write.isEnd - true when the stream is closing.java.io.IOException