Package org.vast.swe
Class Base64Encoder
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.vast.swe.Base64Encoder
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
Filter Stream used to encode binary data from output stream to a base64 stream. This is inspired from Apache Jakarta Commons Base64 encoder/decoder class.
- Since:
- Feb 14, 2006
-
Field Summary
FieldsFields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterOutputStream
close
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
addCR
public boolean addCR
-
-
Constructor Details
-
Base64Encoder
-
-
Method Details
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classFilterOutputStream
- Throws:
IOException
-
addCR
- Throws:
IOException
-
encode
- Throws:
IOException
-