/[classpath]/classpath/java/io/ObjectInput.java
ViewVC logotype

Diff of /classpath/java/io/ObjectInput.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by arenn, Sun Apr 6 20:43:57 2003 UTC revision 1.11 by mkoch, Sun Oct 12 15:49:19 2003 UTC
# Line 58  public interface ObjectInput extends Dat Line 58  public interface ObjectInput extends Dat
58      *      *
59      * @exception IOException If an error occurs      * @exception IOException If an error occurs
60      */      */
61    public abstract int available() throws IOException;    int available() throws IOException;
62    
63    /**    /**
64      * This method reading a byte of data from a stream.  It returns that byte      * This method reading a byte of data from a stream.  It returns that byte
# Line 69  public interface ObjectInput extends Dat Line 69  public interface ObjectInput extends Dat
69      *      *
70      * @exception IOException If an error occurs      * @exception IOException If an error occurs
71      */      */
72    public abstract int read() throws IOException;    int read() throws IOException;
73    
74    /**    /**
75      * This method reads raw bytes and stores them them a byte array buffer.      * This method reads raw bytes and stores them them a byte array buffer.
# Line 83  public interface ObjectInput extends Dat Line 83  public interface ObjectInput extends Dat
83      *      *
84      * @exception IOException If an error occurs      * @exception IOException If an error occurs
85      */      */
86    public abstract int read(byte[] buf) throws IOException;    int read(byte[] buf) throws IOException;
87    
88    /**    /**
89      * This method reads raw bytes and stores them in a byte array buffer      * This method reads raw bytes and stores them in a byte array buffer
# Line 102  public interface ObjectInput extends Dat Line 102  public interface ObjectInput extends Dat
102      *      *
103      * @exception IOException If an error occurs      * @exception IOException If an error occurs
104      */      */
105    public abstract int read(byte[] buf, int offset, int len) throws IOException;    int read(byte[] buf, int offset, int len) throws IOException;
106    
107    /**    /**
108      * Reads an object instance and returns it.  If the class for the object      * Reads an object instance and returns it.  If the class for the object
# Line 115  public interface ObjectInput extends Dat Line 115  public interface ObjectInput extends Dat
115      * found      * found
116      * @exception IOException If any other error occurs      * @exception IOException If any other error occurs
117      */      */
118    public abstract Object readObject()    Object readObject()
119      throws ClassNotFoundException, IOException;      throws ClassNotFoundException, IOException;
120    
121    /**    /**
# Line 129  public interface ObjectInput extends Dat Line 129  public interface ObjectInput extends Dat
129      *      *
130      * @exception IOException If an error occurs      * @exception IOException If an error occurs
131      */      */
132    public abstract long skip(long numBytes) throws IOException;    long skip(long numBytes) throws IOException;
133    
134    /**    /**
135      * This method closes the input source      * This method closes the input source
136      *      *
137      * @exception IOException If an error occurs      * @exception IOException If an error occurs
138      */      */
139    public abstract void close() throws IOException;    void close() throws IOException;
140    }
 } // interface ObjectInput  
   

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26