com.sun.xml.ws.security.opt.impl.util
Class CheckedInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.sun.xml.ws.security.opt.impl.util.CheckedInputStream
- All Implemented Interfaces:
- Closeable
public class CheckedInputStream
- extends FilterInputStream
- Author:
- Ashutosh.Shahi@Sun.com
|
Method Summary |
boolean |
isEmpty()
|
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int off,
int len)
|
long |
skip(long n)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckedInputStream
public CheckedInputStream(InputStream cin)
throws IOException
- Creates a new instance of CheckedCipherInputStream
- Throws:
IOException
read
public int read()
throws IOException
- Overrides:
read in class FilterInputStream
- Throws:
IOException
read
public int read(byte[] b)
throws IOException
- Overrides:
read in class FilterInputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read in class FilterInputStream
- Throws:
IOException
skip
public long skip(long n)
throws IOException
- Overrides:
skip in class FilterInputStream
- Throws:
IOException
isEmpty
public boolean isEmpty()
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.