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