01: /*
02: * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
03: * Copyright (C) 2005 - Javolution (http://javolution.org/)
04: * All rights reserved.
05: *
06: * Permission to use, copy, modify, and distribute this software is
07: * freely granted, provided that this notice is preserved.
08: */
09: package j2me.io;
10:
11: import java.io.IOException;
12: import j2me.io.DataInput;
13:
14: public interface ObjectInput extends DataInput {
15: Object readObject() throws ClassNotFoundException, IOException;
16:
17: int read() throws IOException;
18:
19: int read(byte b[]) throws IOException;
20:
21: int read(byte b[], int off, int len) throws IOException;
22:
23: long skip(long n) throws IOException;
24:
25: int available() throws IOException;
26:
27: void close() throws IOException;
28: }
|