public class DoubleOutputStream extends OutputStream
| Constructor and Description |
|---|
DoubleOutputStream(OutputStream a,
boolean closeA,
OutputStream b,
boolean closeB)
Create a Double Stream Writer
Some Streams should not be closed by this object (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(byte[] b) |
void |
write(byte[] bbuf,
int off,
int len)
Write a portion of an array of characters.
|
void |
write(int c)
Write a single character.
|
public DoubleOutputStream(OutputStream a, boolean closeA, OutputStream b, boolean closeB)
public void write(int c)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] bbuf,
int off,
int len)
throws IOException
write in class OutputStreambbuf - Array of charactersoff - Offset from which to start writing characterslen - Number of characters to writeIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionCopyright © 2017. All rights reserved.