org.apache.sanselan.util
Class DebugInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.apache.sanselan.util.DebugInputStream
All Implemented Interfaces:
java.io.Closeable

public class DebugInputStream
extends java.io.InputStream


Constructor Summary
DebugInputStream(java.io.InputStream is)
           
 
Method Summary
 int available()
           
 void close()
           
 long getBytesRead()
           
 int read()
           
 long skip(long n)
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, read, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugInputStream

public DebugInputStream(java.io.InputStream is)
Method Detail

read

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

skip

public long skip(long n)
          throws java.io.IOException
Overrides:
skip in class java.io.InputStream
Throws:
java.io.IOException

available

public int available()
              throws java.io.IOException
Overrides:
available in class java.io.InputStream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream
Throws:
java.io.IOException

getBytesRead

public long getBytesRead()


Copyright © 2007-2009. All Rights Reserved.