Package com.redwood.scheduler.api.tool
Class WriterOutputHandler
- java.lang.Object
-
- com.redwood.scheduler.api.tool.OutputHandler
-
- com.redwood.scheduler.api.tool.WriterOutputHandler
-
public class WriterOutputHandler extends OutputHandler
Adapter to allow output to a Writer.
-
-
Constructor Summary
Constructors Constructor Description WriterOutputHandler(Writer newW)
-
-
-
Constructor Detail
-
WriterOutputHandler
public WriterOutputHandler(Writer newW)
-
-
Method Detail
-
write
public void write(String s) throws IOException
Write the string s.- Overrides:
write
in classOutputHandler
- Parameters:
s
- the string to write- Throws:
IOException
- if an I/O error occurs.
-
-