KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > j2me > io > DataOutput


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 DataOutput {
14
15     void write(byte[] b) throws IOException JavaDoc;
16
17     void write(byte[] b, int off, int len) throws IOException JavaDoc;
18
19     void write(int b) throws IOException JavaDoc;
20
21     void writeBoolean(boolean v) throws IOException JavaDoc;
22
23     void writeByte(int v) throws IOException JavaDoc;
24
25     void writeBytes(String JavaDoc s) throws IOException JavaDoc;
26
27     void writeChar(int v) throws IOException JavaDoc;
28
29     void writeChars(String JavaDoc s) throws IOException JavaDoc;
30
31     void writeInt(int v) throws IOException JavaDoc;
32
33     void writeLong(long v) throws IOException JavaDoc;
34
35     void writeShort(int v) throws IOException JavaDoc;
36
37     void writeUTF(String JavaDoc str) throws IOException JavaDoc;
38
39     /*@JVM-1.1+@
40
41      void writeFloat (float v) throws IOException;
42      
43      void writeDouble (double v) throws IOException;
44
45      /**/

46 }
Popular Tags