Package org.apache.commons.codec.binary
Class Base64.Builder
- java.lang.Object
-
- org.apache.commons.codec.binary.BaseNCodec.AbstractBuilder<Base64,Base64.Builder>
-
- org.apache.commons.codec.binary.Base64.Builder
-
- All Implemented Interfaces:
java.util.function.Supplier<Base64>
- Enclosing class:
- Base64
public static class Base64.Builder extends BaseNCodec.AbstractBuilder<Base64,Base64.Builder>
BuildsBase64
instances.- Since:
- 1.17.0
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Base64
get()
Base64.Builder
setUrlSafe(boolean urlSafe)
Sets the URL-safe encoding policy.-
Methods inherited from class org.apache.commons.codec.binary.BaseNCodec.AbstractBuilder
setDecodingPolicy, setEncodeTable, setLineLength, setLineSeparator, setPadding
-
-
-
-
Method Detail
-
get
public Base64 get()
-
setUrlSafe
public Base64.Builder setUrlSafe(boolean urlSafe)
Sets the URL-safe encoding policy.- Parameters:
urlSafe
- URL-safe encoding policy, null resets to the default.- Returns:
- this.
-
-