KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > j2me > io > ObjectInput


1 /*
2  * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
3  * Copyright (C) 2005 - Javolution (http://javolution.org/)
4  * All rights reserved.
5  *
6  * Permission to use, copy, modify, and distribute this software is
7  * freely granted, provided that this notice is preserved.
8  */

9 package j2me.io;
10 import java.io.IOException JavaDoc;
11 import j2me.io.DataInput;
12
13 public interface ObjectInput extends DataInput {
14     Object JavaDoc readObject() throws ClassNotFoundException JavaDoc, IOException JavaDoc;
15
16     int read() throws IOException JavaDoc;
17
18     int read(byte b[]) throws IOException JavaDoc;
19
20     int read(byte b[], int off, int len) throws IOException JavaDoc;
21
22     long skip(long n) throws IOException JavaDoc;
23
24     int available() throws IOException JavaDoc;
25
26     void close() throws IOException JavaDoc;
27 }
Popular Tags