
public final class ReplaceAllOutputStream extends OutputStream
OutputStream wrapperReplaceAllInputStream| Constructor and Description |
|---|
ReplaceAllOutputStream(byte[] search,
byte[] replace,
OutputStream output)
Create a new
ReplaceAllOutputStream |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(int b) |
flush, write, writepublic ReplaceAllOutputStream(byte[] search,
byte[] replace,
OutputStream output)
ReplaceAllOutputStreamsearch - the byte sequence to search forreplace - the replacement byte sequence to substitute when the search sequence if foundoutput - the OutputStream to operate onpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2017 earcam. All rights reserved.