NXvalidate  1
 All Classes Namespaces Files Functions Variables
Public Member Functions | List of all members
org.nexusformat.nxvalidate.StreamGobbler Class Reference

Thread for consuming streams. More...

Inheritance diagram for org.nexusformat.nxvalidate.StreamGobbler:
Inheritance graph
Collaboration diagram for org.nexusformat.nxvalidate.StreamGobbler:
Collaboration graph

Public Member Functions

 StreamGobbler (final InputStream stream, final String type)
 
String getType ()
 
void run ()
 
String getOutput ()
 

Detailed Description

Thread for consuming streams.

Definition at line 36 of file StreamGobbler.java.

Constructor & Destructor Documentation

org.nexusformat.nxvalidate.StreamGobbler.StreamGobbler ( final InputStream  stream,
final String  type 
)
Parameters
streamThe stream to consume.
typeThe type of the stream.

Definition at line 50 of file StreamGobbler.java.

Member Function Documentation

String org.nexusformat.nxvalidate.StreamGobbler.getOutput ( )
Returns
Everything that was written to the stream.

Definition at line 83 of file StreamGobbler.java.

Referenced by org.nexusformat.nxvalidate.NXconvert.convert().

String org.nexusformat.nxvalidate.StreamGobbler.getType ( )
Returns
The type of the stream.

Definition at line 59 of file StreamGobbler.java.

void org.nexusformat.nxvalidate.StreamGobbler.run ( )

Definition at line 64 of file StreamGobbler.java.


The documentation for this class was generated from the following file: