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:
13: public interface DataInput {
14:
15: boolean readBoolean() throws IOException;
16:
17: byte readByte() throws IOException;
18:
19: char readChar() throws IOException;
20:
21: void readFully(byte[] b) throws IOException;
22:
23: void readFully(byte[] b, int off, int len) throws IOException;
24:
25: int readInt() throws IOException;
26:
27: String readLine() throws IOException;
28:
29: long readLong() throws IOException;
30:
31: short readShort() throws IOException;
32:
33: int readUnsignedByte() throws IOException;
34:
35: int readUnsignedShort() throws IOException;
36:
37: String readUTF() throws IOException;
38:
39: int skipBytes(int n) throws IOException;
40:
41: /*@JVM-1.1+@
42:
43: float readFloat() throws IOException;
44:
45: double readDouble() throws IOException;
46:
47: /**/
48: }
|