KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > j2me > io > ObjectOutput


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