org.oddjob.io
Class StderrType
java.lang.Object
org.oddjob.io.StderrType
- All Implemented Interfaces:
- ArooaValue, ValueFactory<OutputStream>
public class StderrType
- extends Object
- implements ValueFactory<OutputStream>
Description
Provide an output to the stderr stream of
the console.Example
Copy a buffer to stderr.
<copy>
<input>
<buffer>It's all going wrong!
</buffer>
</input>
<output>
<stderr/>
</output>
</copy>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StderrType
public StderrType()
toValue
public OutputStream toValue()
throws ArooaConversionException
- Description copied from interface:
ValueFactory
- Provide an instance of the type this is a factory for.
- Specified by:
toValue
in interface ValueFactory<OutputStream>
- Returns:
- An instance of the type. May be null.
- Throws:
ArooaConversionException
- If unable to provide a value.