public class ProcessOutputStream extends UnsyncByteArrayOutputStream
buffer, index| Constructor and Description |
|---|
ProcessOutputStream(ObjectOutputStream objectOutputStream) |
ProcessOutputStream(ObjectOutputStream objectOutputStream,
boolean error) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
setLogPrefix(byte[] logPrefix) |
void |
writeProcessCallable(ProcessCallable<?> processCallable) |
reset, size, toByteArray, toString, toString, unsafeGetByteArray, unsafeGetByteBuffer, write, write, write, writeTopublic ProcessOutputStream(ObjectOutputStream objectOutputStream)
public ProcessOutputStream(ObjectOutputStream objectOutputStream, boolean error)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void setLogPrefix(byte[] logPrefix)
public void writeProcessCallable(ProcessCallable<?> processCallable) throws IOException
IOException