org.codehaus.swizzle.stream
Class ReplayInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by org.codehaus.swizzle.stream.ReplayInputStream
All Implemented Interfaces:
java.io.Closeable

public class ReplayInputStream
extends java.io.FilterInputStream

Version:
$Revision$ $Date$

Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
ReplayInputStream(java.io.InputStream in)
           
 
Method Summary
 byte[] getBytesRead()
           
 int read()
           
 void reset()
           
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplayInputStream

public ReplayInputStream(java.io.InputStream in)
Method Detail

read

public int read()
         throws java.io.IOException
Overrides:
read in class java.io.FilterInputStream
Throws:
java.io.IOException

getBytesRead

public byte[] getBytesRead()

reset

public void reset()
Overrides:
reset in class java.io.FilterInputStream


Copyright © 2011 The Codehaus Foundation. All Rights Reserved.