public class Base64Decoder extends AbstractBaseNDecoder
Modifier and Type | Class and Description |
---|---|
static class |
Base64Decoder.Builder
Builder for base-64 decoders.
|
Constructor and Description |
---|
Base64Decoder()
Creates a new instance that decodes base 64-encoded input in the default character set.
|
Base64Decoder(boolean urlSafe)
Creates a new instance that decodes base 64-encoded input in the optional URL-safe character set.
|
Base64Decoder(String alphabet)
Creates a new instance that decodes base-64 character data encoded in the given alphabet.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getBitsPerChar() |
protected int |
getBlockLength() |
decode, decodingTable, finalize, isPaddedInput, outputSize, setPaddedInput
public Base64Decoder()
public Base64Decoder(boolean urlSafe)
urlSafe
- True to use URL and filesystem-safe character set, false otherwise.public Base64Decoder(String alphabet)
alphabet
- Base-64 alphabet to use for decodingprotected int getBlockLength()
getBlockLength
in class AbstractBaseNDecoder
protected int getBitsPerChar()
getBitsPerChar
in class AbstractBaseNDecoder
Copyright © 2003-2024 Virginia Tech. All Rights Reserved.