Class CheckedInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- com.sun.xml.ws.security.opt.impl.util.CheckedInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class CheckedInputStream extends FilterInputStream
- Author:
- Ashutosh.Shahi@Sun.com
-
-
Field Summary
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Constructor Description CheckedInputStream(InputStream cin)Creates a new instance of CheckedCipherInputStream
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEmpty()intread()intread(byte[] b)intread(byte[] b, int off, int len)longskip(long n)-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, reset
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
CheckedInputStream
public CheckedInputStream(InputStream cin) throws IOException
Creates a new instance of CheckedCipherInputStream- Throws:
IOException
-
-
Method Detail
-
read
public int read() throws IOException- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
public int read(byte[] b) throws IOException- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException- Overrides:
readin classFilterInputStream- Throws:
IOException
-
skip
public long skip(long n) throws IOException- Overrides:
skipin classFilterInputStream- Throws:
IOException
-
isEmpty
public boolean isEmpty()
-
-