public static class Base64Decoder.Builder extends Object
| Constructor and Description | 
|---|
Builder()  | 
| Modifier and Type | Method and Description | 
|---|---|
Base64Decoder | 
build()
Builds a base-64 decoder with the given options. 
 | 
Base64Decoder.Builder | 
setAlphabet(String alpha)
Sets an arbitrary 64-character alphabet for decoding. 
 | 
Base64Decoder.Builder | 
setPadding(boolean pad)
Sets padding flag on the decoder. 
 | 
Base64Decoder.Builder | 
setUrlSafe(boolean safe)
Sets the URL-safe alphabet flag. 
 | 
public Base64Decoder.Builder setUrlSafe(boolean safe)
safe - True for URL-safe alphabet, false otherwise.public Base64Decoder.Builder setAlphabet(String alpha)
alpha - Alternative alphabet.public Base64Decoder.Builder setPadding(boolean pad)
pad - True for base-64 padding, false otherwise.public Base64Decoder build()
Copyright © 2003-2024 Virginia Tech. All Rights Reserved.