public class CanonicalizeOutputStream
extends java.io.FilterOutputStream
| Constructor and Description |
|---|
CanonicalizeOutputStream(java.io.OutputStream os)
Creates a new CanonicalizeOutputStream for canonicalizing the given output stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] b,
int off,
int len)
Writes
len bytes from the specified
byte array starting at offset off to
this output stream. |
void |
write(int b)
Writes the specified
byte to this output stream. |
public CanonicalizeOutputStream(java.io.OutputStream os)
os - the output stream to be canonicalizedpublic void write(int b)
throws java.io.IOException
byte to this output stream.
The write method of FilterOutputStream
calls the write method of its underlying output stream.
write in class java.io.FilterOutputStreamb - the byte.java.io.IOException - if an I/O error occurs.public void write(byte[] b,
int off,
int len)
throws java.io.IOException
len bytes from the specified
byte array starting at offset off to
this output stream.write in class java.io.FilterOutputStreamb - the data.off - the start offset in the data.len - the number of bytes to write.java.io.IOException - if an I/O error occurs.