Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.process.log
Class ProcessOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.liferay.portal.kernel.io.unsync.UnsyncByteArrayOutputStream
          extended by com.liferay.portal.kernel.process.log.ProcessOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class ProcessOutputStream
extends UnsyncByteArrayOutputStream


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.io.unsync.UnsyncByteArrayOutputStream
buffer, index
 
Constructor Summary
ProcessOutputStream(ObjectOutputStream objectOutputStream)
           
ProcessOutputStream(ObjectOutputStream objectOutputStream, boolean error)
           
 
Method Summary
 void close()
           
 void flush()
           
 void writeProcessCallable(ProcessCallable<?> processCallable)
           
 
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
 

Constructor Detail

ProcessOutputStream

public ProcessOutputStream(ObjectOutputStream objectOutputStream)

ProcessOutputStream

public ProcessOutputStream(ObjectOutputStream objectOutputStream,
                           boolean error)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class OutputStream
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class OutputStream
Throws:
IOException

writeProcessCallable

public void writeProcessCallable(ProcessCallable<?> processCallable)
                          throws IOException
Throws:
IOException

Liferay 6.1.2-ce-ga3