public class TeeOutputStream extends FilteredOutputStream
out| Constructor and Description |
|---|
TeeOutputStream(OutputStream one,
OutputStream two) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Invokes the delegate's
close() method. |
void |
flush()
Invokes the delegate's
flush() method. |
void |
write(byte[] bts)
Invokes the delegate's
write(byte[]) method. |
void |
write(byte[] bts,
int st,
int end)
Invokes the delegate's
write(byte[]) method. |
void |
write(int idx)
Invokes the delegate's
write(int) method. |
afterWrite, beforeWrite, onThrowablepublic TeeOutputStream(OutputStream one, OutputStream two)
public void close()
throws IOException
FilteredOutputStreamclose() method.close in interface Closeableclose in interface AutoCloseableclose in class FilteredOutputStreamIOException - if an I/O error occurs.public void flush()
throws IOException
FilteredOutputStreamflush() method.flush in interface Flushableflush in class FilteredOutputStreamIOException - if an I/O error occurs.public void write(byte[] bts)
throws IOException
FilteredOutputStreamwrite(byte[]) method.write in class FilteredOutputStreambts - the bytes to writeIOException - if an I/O error occurs.public void write(byte[] bts,
int st,
int end)
throws IOException
FilteredOutputStreamwrite(byte[]) method.write in class FilteredOutputStreambts - the bytes to writest - The start offsetend - The number of bytes to writeIOException - if an I/O error occurs.public void write(int idx)
throws IOException
FilteredOutputStreamwrite(int) method.write in class FilteredOutputStreamidx - the byte to writeIOException - if an I/O error occurs.Copyright © 2014–2024 jsonwebtoken.io. All rights reserved.