public abstract class AbstractBase32Encoder extends Object implements TextEncoder
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBase32Encoder()
Initializes the AbstractBase32Encoder.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decode(String text)
Decodes the string into a byte array.
|
String |
encode(byte[] bytes)
Encodes the byte array to a string.
|
protected byte[] |
getDecodeArray()
Returns the decodeArray.
|
protected byte[] |
getEncodeArray()
Returns the encodeArray.
|
protected byte |
getPaddingChar()
Returns the padding character.
|
protected boolean |
isUsePadding()
Returns true if this encoder uses padding.
|
protected AbstractBase32Encoder()
protected final byte[] getEncodeArray()
protected final byte[] getDecodeArray()
protected byte getPaddingChar()
protected boolean isUsePadding()
public String encode(byte[] bytes)
encode in interface TextEncoderbytes - the byte arraypublic byte[] decode(String text)
decode in interface TextEncodertext - the encoded text