T - the codec type to build.B - the codec builder subtype.public abstract static class BaseNCodec.AbstractBuilder<T,B extends BaseNCodec.AbstractBuilder<T,B>>
extends java.lang.Object
implements java.util.function.Supplier<T>
Base64 instances.| Modifier and Type | Method and Description |
|---|---|
B |
setDecodingPolicy(CodecPolicy decodingPolicy)
Sets the decoding policy.
|
B |
setEncodeTable(byte... encodeTable)
Sets the encode table.
|
B |
setLineLength(int lineLength)
Sets the line length.
|
B |
setLineSeparator(byte... lineSeparator)
Sets the line separator.
|
B |
setPadding(byte padding)
Sets the padding byte.
|
public B setDecodingPolicy(CodecPolicy decodingPolicy)
decodingPolicy - the decoding policy, null resets to the default.this instance.public B setEncodeTable(byte... encodeTable)
encodeTable - the encode table, null resets to the default.this instance.public B setLineLength(int lineLength)
lineLength - the line length, less than 0 resets to the default.this instance.public B setLineSeparator(byte... lineSeparator)
lineSeparator - the line separator, null resets to the default.this instance.public B setPadding(byte padding)
padding - the padding byte.this instance.Copyright © 2010 - 2024 Adobe. All Rights Reserved