KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > j2me > io > DataInput


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

48 }
Popular Tags