public class Base64 extends Object implements ByteToCharTransformer, ConfigurableTransformer
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
to |
| Constructor and Description |
|---|
Base64() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(int t)
If a transformer can handle more then one destination
format, it can be configured with this.
|
String |
getEncoding()
Returns the encoding that is currently active
|
static void |
main(String[] argv) |
String |
transform(byte[] in) |
Writer |
transform(InputStream in) |
Writer |
transform(InputStream in,
Writer w) |
OutputStream |
transformBack(Reader r) |
OutputStream |
transformBack(Reader in,
OutputStream out) |
byte[] |
transformBack(String r) |
Map<String,Config> |
transformers()
Used when registering this class as a possible Transformer
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic void configure(int t)
ConfigurableTransformerto can be null.configure in interface ConfigurableTransformerpublic Map<String,Config> transformers()
transformers in interface ConfigurableTransformerpublic String transform(byte[] in)
transform in interface ByteToCharTransformerpublic Writer transform(InputStream in, Writer w)
transform in interface ByteToCharTransformerpublic byte[] transformBack(String r)
transformBack in interface ByteToCharTransformerpublic OutputStream transformBack(Reader in, OutputStream out)
transformBack in interface ByteToCharTransformerpublic final OutputStream transformBack(Reader r)
transformBack in interface ByteToCharTransformerpublic final Writer transform(InputStream in)
transform in interface ByteToCharTransformerpublic String getEncoding()
ConfigurableTransformergetEncoding in interface ConfigurableTransformerMMBase 1.9-SNAPSHOT - ${javadoctimestamp}