Liferay 6.2-ce-ga5

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, AutoCloseable

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 setLogPrefix(byte[] logPrefix)
           
 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
Specified by:
close in interface AutoCloseable
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

setLogPrefix

public void setLogPrefix(byte[] logPrefix)

writeProcessCallable

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

Liferay 6.2-ce-ga5