Constructor and Description |
---|
Base64Codec()
Creates a new instance using the base-64 alphabet defined in RFC 4648.
|
Base64Codec(String alphabet)
Creates a new instance using the given 64-character alphabet.
|
Base64Codec(String alphabet,
boolean inputOutputPadding)
Creates a new instance using the given 64-character alphabet with option to enable/disable padding.
|
Modifier and Type | Method and Description |
---|---|
Decoder |
getDecoder() |
Encoder |
getEncoder() |
Decoder |
newDecoder() |
Encoder |
newEncoder() |
public Base64Codec()
public Base64Codec(String alphabet)
alphabet
- 64-character alphabet to use.public Base64Codec(String alphabet, boolean inputOutputPadding)
alphabet
- 64-character alphabet to use.inputOutputPadding
- True to enable support for padding, false otherwise.public Encoder getEncoder()
getEncoder
in interface Codec
public Decoder getDecoder()
getDecoder
in interface Codec
public Encoder newEncoder()
newEncoder
in interface Codec
public Decoder newDecoder()
newDecoder
in interface Codec
Copyright © 2003-2024 Virginia Tech. All Rights Reserved.