java.io
Class OutputStream
java.lang.Object
java.io.OutputStream
- Direct Known Subclasses:
- ByteArrayOutputStream, ChunkedOutputStream, FileOutputStream, FilterOutputStream, PipedOutputStream, RequestOutputStream
public abstract class OutputStream
- extends Object
Abstract class for byte-oriented input streams.
Compliance: CLDC: 1.0 complete
Compliance: J2SE: 1.4 complete
|
Method Summary |
void |
close()
|
void |
flush()
|
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
abstract void |
write(int b)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputStream
public OutputStream()
close
public void close()
throws IOException
- Throws:
IOException
flush
public void flush()
throws IOException
- Throws:
IOException
write
public abstract void write(int b)
throws IOException
- Throws:
IOException
write
public void write(byte[] b)
throws IOException
- Throws:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException