org.oddjob.io
Class StdinType

java.lang.Object
  extended by org.oddjob.io.StdinType
All Implemented Interfaces:
ArooaValue, ValueFactory<InputStream>

public class StdinType
extends Object
implements ValueFactory<InputStream>

Description

Provide an output to the console.

Example

Copy from stdin to a file.
<copy>
    <input>
        <stdin/>
    </input>
    <output>
        <file file="foo.txt"/>
    </output>
</copy>

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.oddjob.arooa.types.ValueFactory
ValueFactory.Conversions
 
Constructor Summary
StdinType()
           
 
Method Summary
 InputStream toValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdinType

public StdinType()
Method Detail

toValue

public InputStream toValue()
                    throws ArooaConversionException
Specified by:
toValue in interface ValueFactory<InputStream>
Throws:
ArooaConversionException