Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.io.ObjectInputStream

Availability: JDK 1.1

public class ObjectInputStream extends InputStream implements ObjectInput {
   // Public Constructor
      public ObjectInputStream(InputStream in) throws IOException, StreamCorruptedException;
   // Public Instance Methods
      public int available() throws IOException;  // Overrides InputStream.available()
      public void close() throws IOException;  // Overrides InputStream.close()
      public final void defaultReadObject() throws IOException, ClassNotFoundException, NotActiveException;
      public int read() throws IOException;  // Defines InputStream.read()
      public int read(byte[] data, int offset, int length) throws IOException;  // Overrides InputStream.read()
      public boolean readBoolean() throws IOException;
      public byte readByte() throws IOException;
      public char readChar() throws IOException;
      public double readDouble() throws IOException;
      public float readFloat() throws IOException;
      public void readFully(byte[] data) throws IOException;
      public void readFully(byte[] data, int offset, int size) throws IOException;
      public int readInt() throws IOException;
      public String readLine() throws IOException;
      public long readLong() throws IOException;
      public final Object readObject() throws OptionalDataException, ClassNotFoundException, IOException;
      public short readShort() throws IOException;
      public String readUTF() throws IOException;
      public int readUnsignedByte() throws IOException;
      public int readUnsignedShort() throws IOException;
      public synchronized void registerValidation(ObjectInputValidation obj, int prio) throws NotActiveException, InvalidObjectException;
      public int skipBytes(int len) throws IOException;
   // Protected Instance Methods
      protected final boolean enableResolveObject(boolean enable) throws SecurityException;
      protected void readStreamHeader() throws IOException, StreamCorruptedException;
      protected Class resolveClass(ObjectStreamClass v) throws IOException, ClassNotFoundException;
      protected Object resolveObject(Object obj) throws IOException;
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.