57 |
* |
* |
58 |
* @exception IOException If an error occurs. |
* @exception IOException If an error occurs. |
59 |
*/ |
*/ |
60 |
public abstract void write(int b) throws IOException; |
void write(int b) throws IOException; |
61 |
|
|
62 |
/** |
/** |
63 |
* This method writes all the bytes in the specified byte array to the |
* This method writes all the bytes in the specified byte array to the |
67 |
* |
* |
68 |
* @exception IOException If an error occurs. |
* @exception IOException If an error occurs. |
69 |
*/ |
*/ |
70 |
public abstract void write(byte[] buf) throws IOException; |
void write(byte[] buf) throws IOException; |
71 |
|
|
72 |
/** |
/** |
73 |
* This method writes <code>len</code> bytes from the specified array |
* This method writes <code>len</code> bytes from the specified array |
79 |
* |
* |
80 |
* @exception IOException If an error occurs. |
* @exception IOException If an error occurs. |
81 |
*/ |
*/ |
82 |
public abstract void write(byte[] buf, int offset, int len) |
void write(byte[] buf, int offset, int len) |
83 |
throws IOException; |
throws IOException; |
84 |
|
|
85 |
/** |
/** |
90 |
* |
* |
91 |
* @exception IOException If an error occurs |
* @exception IOException If an error occurs |
92 |
*/ |
*/ |
93 |
public abstract void writeObject(Object obj) throws IOException; |
void writeObject(Object obj) throws IOException; |
94 |
|
|
95 |
/** |
/** |
96 |
* This method causes any buffered data to be flushed out to the underlying |
* This method causes any buffered data to be flushed out to the underlying |
98 |
* |
* |
99 |
* @exception IOException If an error occurs |
* @exception IOException If an error occurs |
100 |
*/ |
*/ |
101 |
public abstract void flush() throws IOException; |
void flush() throws IOException; |
102 |
|
|
103 |
/** |
/** |
104 |
* This method closes the underlying stream. |
* This method closes the underlying stream. |
105 |
* |
* |
106 |
* @exception IOException If an error occurs |
* @exception IOException If an error occurs |
107 |
*/ |
*/ |
108 |
public abstract void close() throws IOException; |
void close() throws IOException; |
109 |
|
|
110 |
} // interface ObjectOutput |
} // interface ObjectOutput |
111 |
|
|