org.oddjob.io
Class StdoutType
java.lang.Object
org.oddjob.io.StdoutType
- All Implemented Interfaces:
- ArooaValue, ValueFactory<OutputStream>
public class StdoutType
- extends Object
- implements ValueFactory<OutputStream>
Description
Provide an output to stdout stream of
the console.Example
Copy from a file to stdout.
<copy>
<input>
<file file="${my.file}"/>
</input>
<output>
<stdout/>
</output>
</copy>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StdoutType
public StdoutType()
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.