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 j2me.io.DataOutput;
12: import java.io.IOException;
13:
14: public interface ObjectOutput extends DataOutput {
15: void writeObject(Object obj) throws IOException;
16:
17: void write(int b) throws IOException;
18:
19: void write(byte b[]) throws IOException;
20:
21: void write(byte b[], int off, int len) throws IOException;
22:
23: void flush() throws IOException;
24:
25: void close() throws IOException;
26: }
|