Package com.redwood.scheduler.api.tool
Class StringBuilderOutputHandler
- java.lang.Object
-
- com.redwood.scheduler.api.tool.OutputHandler
-
- com.redwood.scheduler.api.tool.StringBuilderOutputHandler
-
public class StringBuilderOutputHandler extends OutputHandler
Adapter to allow output to a StringBuilder.
-
-
Constructor Summary
Constructors Constructor Description StringBuilderOutputHandler()
StringBuilderOutputHandler(StringBuilder newSb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilder
getStringBuilder()
void
write(String s)
Write the string s.
-
-
-
Constructor Detail
-
StringBuilderOutputHandler
public StringBuilderOutputHandler()
-
StringBuilderOutputHandler
public StringBuilderOutputHandler(StringBuilder newSb)
-
-
Method Detail
-
write
public void write(String s)
Description copied from class:OutputHandler
Write the string s.- Overrides:
write
in classOutputHandler
- Parameters:
s
- the string to write
-
getStringBuilder
public StringBuilder getStringBuilder()
-
-