java.lang.Object
java.io.OutputStream
- All Implemented Interfaces:
- Closeable, Flushable
- Direct Known Subclasses:
- ByteArrayOutputStream, FileOutputStream, FilterOutputStream, ObjectOutputStream, OutputStream, PipedOutputStream
- See Also:
- Top Examples, Source Code,
BufferedOutputStream
,
DataOutputStream
,
InputStream
,
write(int)
public void close()
throws IOException
- See Also:
- Closeable
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void flush()
throws IOException
- See Also:
- Flushable
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public OutputStream()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void write(byte[] b)
throws IOException
- See Also:
write(byte[], int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void write(byte[] b,
int off,
int len)
throws IOException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[137]PipeIO
By ollie { at } appsaspeers { dot } com on 2003/07/30 09:23:26 Rate
public void PipeIO ( InputStream is, OutputStream os ) throws IOException {
System.out.println ( "PipeIO" ) ;
System.out.println ( "Reading stream > > > " ) ;
byte [ ] bytes = new byte [ 512 ] ;
int in = is.read ( bytes ) ;
do {
os.write ( bytes, 0, in ) ;
in = is.read ( bytes ) ;
} while ( in != -1 ) ;
System.out.println ( " < < < Read stream" ) ;
}
public abstract void write(int b)
throws IOException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples