com.liferay.portal.kernel.process.log
Class ProcessOutputStream
java.lang.Object
java.io.OutputStream
com.liferay.portal.kernel.io.unsync.UnsyncByteArrayOutputStream
com.liferay.portal.kernel.process.log.ProcessOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class ProcessOutputStream
- extends UnsyncByteArrayOutputStream
- Author:
- Shuyang Zhou
| Methods inherited from class com.liferay.portal.kernel.io.unsync.UnsyncByteArrayOutputStream |
reset, size, toByteArray, toString, toString, unsafeGetByteArray, unsafeGetByteBuffer, write, write, write, writeTo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProcessOutputStream
public ProcessOutputStream(java.io.ObjectOutputStream objectOutputStream)
ProcessOutputStream
public ProcessOutputStream(java.io.ObjectOutputStream objectOutputStream,
boolean error)
close
public void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable- Overrides:
close in class java.io.OutputStream
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush in interface java.io.Flushable- Overrides:
flush in class java.io.OutputStream
- Throws:
java.io.IOException
writeProcessCallable
public void writeProcessCallable(ProcessCallable<?> processCallable)
throws java.io.IOException
- Throws:
java.io.IOException