Interface IProcessOutputStream
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable,java.io.Flushable
- All Known Implementing Classes:
ProcessBufferOutputStream,ProcessFormatedOutputStream,ProcessOutputStream,Slf4jProcessOutputStream,TeeProcessOutputStream
public interface IProcessOutputStream extends java.io.Closeable, java.io.FlushableThe process output stream
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getLinePrefix()Get the line preifxIProcessStreamExceptionHandlergetProcessStreamExceptionHandler()Get the process stream exception handlervoidstart(ISystemCommandGroup systemCommandGroup)Notification of the start to execute the system command groupvoidwrite(byte[] b)Write to the streamvoidwrite(byte[] b, int off, int len)Write to the streamvoidwrite(int b)Write to the stream
-
-
-
Method Detail
-
write
void write(int b) throws java.io.IOExceptionWrite to the stream- Parameters:
b- the byte to write- Throws:
java.io.IOException- in case of an I/O error
-
write
void write(byte[] b) throws java.io.IOExceptionWrite to the stream- Parameters:
b- the bytes to write- Throws:
java.io.IOException- in case of an I/O error
-
write
void write(byte[] b, int off, int len) throws java.io.IOExceptionWrite to the stream- Parameters:
b- the bytes to writeoff- the offsetlen- the length- Throws:
java.io.IOException- in case of an I/O error
-
getLinePrefix
byte[] getLinePrefix()
Get the line preifx- Returns:
- the line preifx
-
getProcessStreamExceptionHandler
IProcessStreamExceptionHandler getProcessStreamExceptionHandler()
Get the process stream exception handler- Returns:
- the process stream exception handler
-
start
void start(ISystemCommandGroup systemCommandGroup)
Notification of the start to execute the system command group- Parameters:
systemCommandGroup- the executing system command
-
-