public class DelegatingOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected OutputStream |
delegate |
| Constructor and Description |
|---|
DelegatingOutputStream() |
DelegatingOutputStream(OutputStream delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
OutputStream |
getDelegate() |
void |
setDelegate(OutputStream delegate) |
void |
write(byte[] bytes) |
void |
write(byte[] bytes,
int i,
int i1) |
void |
write(int i) |
protected OutputStream delegate
public DelegatingOutputStream()
public DelegatingOutputStream(OutputStream delegate)
public OutputStream getDelegate()
public void setDelegate(OutputStream delegate)
public void write(int i)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] bytes)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] bytes,
int i,
int i1)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.