Home » openjdk-7 » java » io » [javadoc | source]
java.io
static class: ObjectInputStream.PeekInputStream [javadoc | source]
java.lang.Object
   java.io.InputStream
      java.io.ObjectInputStream$PeekInputStream

All Implemented Interfaces:
    Closeable

Input stream supporting single-byte peek operations.
Constructor:
 PeekInputStream(InputStream in) 
    Creates new PeekInputStream on top of given underlying stream.
Method from java.io.ObjectInputStream$PeekInputStream Summary:
available,   close,   peek,   read,   read,   readFully,   skip
Methods from java.io.InputStream:
available,   close,   mark,   markSupported,   read,   read,   read,   reset,   skip
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.io.ObjectInputStream$PeekInputStream Detail:
 public int available() throws IOException 
 public  void close() throws IOException 
 int peek() throws IOException 
    Peeks at next byte value in stream. Similar to read(), except that it does not consume the read value.
 public int read() throws IOException 
 public int read(byte[] b,
    int off,
    int len) throws IOException 
  void readFully(byte[] b,
    int off,
    int len) throws IOException 
 public long skip(long n) throws IOException