Package gw.util.process
Class ChainedOutputHandler
java.lang.Object
gw.util.process.ChainedOutputHandler
- All Implemented Interfaces:
OutputHandler,Closeable,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidadd(OutputHandler handler) voidclose()private voidclose(int idx) voidhandleLine(String line) (package private) OutputHandler
-
Field Details
-
NULL_OUTPUT_HANDLER
-
_handlers
-
-
Constructor Details
-
ChainedOutputHandler
ChainedOutputHandler()
-
-
Method Details
-
add
-
maybeReduce
OutputHandler maybeReduce() -
handleLine
- Specified by:
handleLinein interfaceOutputHandler
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
close
- Throws:
IOException
-