aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/io/ObjectInput.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/io/ObjectInput.java')
-rw-r--r--libjava/java/io/ObjectInput.java18
1 files changed, 8 insertions, 10 deletions
diff --git a/libjava/java/io/ObjectInput.java b/libjava/java/io/ObjectInput.java
index 44cfb93..f53294d 100644
--- a/libjava/java/io/ObjectInput.java
+++ b/libjava/java/io/ObjectInput.java
@@ -58,7 +58,7 @@ public interface ObjectInput extends DataInput
*
* @exception IOException If an error occurs
*/
- public abstract int available() throws IOException;
+ int available() throws IOException;
/**
* This method reading a byte of data from a stream. It returns that byte
@@ -69,7 +69,7 @@ public interface ObjectInput extends DataInput
*
* @exception IOException If an error occurs
*/
- public abstract int read() throws IOException;
+ int read() throws IOException;
/**
* This method reads raw bytes and stores them them a byte array buffer.
@@ -83,7 +83,7 @@ public interface ObjectInput extends DataInput
*
* @exception IOException If an error occurs
*/
- public abstract int read(byte[] buf) throws IOException;
+ int read(byte[] buf) throws IOException;
/**
* This method reads raw bytes and stores them in a byte array buffer
@@ -102,7 +102,7 @@ public interface ObjectInput extends DataInput
*
* @exception IOException If an error occurs
*/
- public abstract int read(byte[] buf, int offset, int len) throws IOException;
+ int read(byte[] buf, int offset, int len) throws IOException;
/**
* Reads an object instance and returns it. If the class for the object
@@ -115,7 +115,7 @@ public interface ObjectInput extends DataInput
* found
* @exception IOException If any other error occurs
*/
- public abstract Object readObject()
+ Object readObject()
throws ClassNotFoundException, IOException;
/**
@@ -129,14 +129,12 @@ public interface ObjectInput extends DataInput
*
* @exception IOException If an error occurs
*/
- public abstract long skip(long numBytes) throws IOException;
+ long skip(long numBytes) throws IOException;
/**
* This method closes the input source
*
* @exception IOException If an error occurs
*/
- public abstract void close() throws IOException;
-
-} // interface ObjectInput
-
+ void close() throws IOException;
+}