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 OutputStream
IOException
public void write(byte[] bytes) throws IOException
write
in class OutputStream
IOException
public void write(byte[] bytes, int i, int i1) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
Copyright © 2019 JBoss by Red Hat. All rights reserved.