org.openfast.util
Class RecordingInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.openfast.util.RecordingInputStream
All Implemented Interfaces:
java.io.Closeable

public class RecordingInputStream
extends java.io.InputStream


Constructor Summary
RecordingInputStream(java.io.InputStream inputStream)
           
 
Method Summary
 void clear()
           
 byte[] getBuffer()
           
 int read()
           
 java.lang.String toString()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecordingInputStream

public RecordingInputStream(java.io.InputStream inputStream)
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getBuffer

public byte[] getBuffer()

clear

public void clear()


Copyright © 2006-2008 The LaSalle Technology Group, LLC. All Rights Reserved.