com.jfw.file
Class ReadPipedStream

java.lang.Object
  extended by com.jfw.file.ReadPipedStream

public final class ReadPipedStream
extends java.lang.Object

Read content from a piped stream.


Constructor Summary
ReadPipedStream(java.io.PipedInputStream inStream)
          Create an instance
 
Method Summary
 byte[] getData()
          Read content from piped stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadPipedStream

public ReadPipedStream(java.io.PipedInputStream inStream)
Create an instance

Parameters:
inStream - the piped stream to read from.
Method Detail

getData

public byte[] getData()
               throws JFWGenericException
Read content from piped stream.

Returns:
the content readed.
Throws:
JFWGenericException