com.sun.xml.ws.security.opt.impl.util
Class CheckedInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by com.sun.xml.ws.security.opt.impl.util.CheckedInputStream
All Implemented Interfaces:
Closeable

public class CheckedInputStream
extends FilterInputStream

Author:
Ashutosh.Shahi@Sun.com

Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
CheckedInputStream(InputStream cin)
          Creates a new instance of CheckedCipherInputStream
 
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.io.FilterInputStream
available, close, mark, markSupported, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
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.