Class OutputController
java.lang.Object
net.sourceforge.jnlp.util.logging.OutputController
- All Implemented Interfaces:
BasicOutputController
OutputController class (thread) must NOT call JNLPRuntime.getConfiguration()
-
Constructor Summary
ConstructorsConstructorDescriptionOutputController(OutputStream out, OutputStream err) for testing purposes the logger with custom streams can be created otherwise only getLogger()'s singleton can be called. -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()static OutputControllerThis should be the only legal way to get logger for ITWvoidvoidprintOutLn(String e) readLine()voidsetInOutErrController(StdInOutErrController inOutErrController) Some tests may require set the output/error stream and check the output.void
-
Constructor Details
-
OutputController
for testing purposes the logger with custom streams can be created otherwise only getLogger()'s singleton can be called.
-
-
Method Details
-
flush
public void flush() -
getLogger
This should be the only legal way to get logger for ITW- Returns:
- logging singleton
-
startConsumer
public void startConsumer() -
setInOutErrController
Some tests may require set the output/error stream and check the output. This is the gate for it. -
log
- Specified by:
login interfaceBasicOutputController
-
printOutLn
-
readLine
- Throws:
IOException
-