Package com.redwood.scheduler.api.tool
Class OutputStreamOutputHandler
- java.lang.Object
-
- com.redwood.scheduler.api.tool.OutputHandler
-
- com.redwood.scheduler.api.tool.OutputStreamOutputHandler
-
public class OutputStreamOutputHandler extends OutputHandler
Adapter to allow output to an OutputStream
-
-
Field Summary
Fields Modifier and Type Field Description static Charset
CONSOLE_CHARSET
-
Constructor Summary
Constructors Constructor Description OutputStreamOutputHandler(OutputStream newOut)
-
-
-
Field Detail
-
CONSOLE_CHARSET
public static final Charset CONSOLE_CHARSET
-
-
Constructor Detail
-
OutputStreamOutputHandler
public OutputStreamOutputHandler(OutputStream newOut)
-
-
Method Detail
-
write
public void write(String s) throws IOException
Description copied from class:OutputHandler
Write the string s.- Overrides:
write
in classOutputHandler
- Parameters:
s
- the string to write- Throws:
IOException
- if an I/O error occurs.
-
-