com.bytecream.codec
Class Base64EncodingOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.bytecream.codec.Base64EncodingOutputStream
- public class Base64EncodingOutputStream
- extends java.io.FilterOutputStream
Provides an encoding filter for an output stream. A CRLF is inserted
every 76 characters. A CRLF is also written at the end except if there
is no output.
|
Method Summary |
void |
close()
|
void |
write(byte[] _bytes,
int _off,
int _len)
|
void |
write(int _byte)
|
| Methods inherited from class java.io.FilterOutputStream |
flush, write |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base64EncodingOutputStream
public Base64EncodingOutputStream(java.io.OutputStream _out)
throws java.io.IOException
write
public void write(int _byte)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] _bytes,
int _off,
int _len)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2004 ByteCream.
All Rights Reserved.