public class BOMOutputStreamFilter extends FilterOutputStream
out| Constructor and Description |
|---|
BOMOutputStreamFilter(String encoding,
OutputStream out)
Create a BOMOutputStreamFilter to remove the BOM (Byte Order Mark)
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flushpublic BOMOutputStreamFilter(String encoding, OutputStream out)
encoding - out - public void write(int b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.