com.sentilla.io
Class JavaInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.sentilla.io.JavaInputStream
All Implemented Interfaces:
Closeable

public class JavaInputStream
extends InputStream


Constructor Summary
JavaInputStream(InputStream in)
           
 
Method Summary
 int available()
           
 void close()
           
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 long skip(long n)
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaInputStream

public JavaInputStream(InputStream in)
Method Detail

available

public int available()
Overrides:
available in class InputStream

close

public void close()
Specified by:
close in interface Closeable
Overrides:
close in class InputStream

read

public int read()
Specified by:
read in class InputStream

read

public int read(byte[] b)
Overrides:
read in class InputStream

read

public int read(byte[] b,
                int off,
                int len)
Overrides:
read in class InputStream

skip

public long skip(long n)
Overrides:
skip in class InputStream


Copyright © 2007 Sentilla Corporation. All Rights Reserved.