Class Base64DataFormat.Builder
java.lang.Object
org.apache.camel.model.dataformat.Base64DataFormat.Builder
- All Implemented Interfaces:
DataFormatBuilder<Base64DataFormat>
- Enclosing class:
Base64DataFormat
public static class Base64DataFormat.Builder
extends Object
implements DataFormatBuilder<Base64DataFormat>
Builder is a specific builder for Base64DataFormat.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionend()Ends the build of the data format.lineLength(int lineLength) To specific a maximum line length for the encoded data.lineLength(String lineLength) To specific a maximum line length for the encoded data.lineSeparator(String lineSeparator) The line separators to use.urlSafe(boolean urlSafe) Instead of emitting '+' and '/' we emit '-' and '_' respectively.Instead of emitting '+' and '/' we emit '-' and '_' respectively.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lineLength
To specific a maximum line length for the encoded data. By default 76 is used. -
lineLength
To specific a maximum line length for the encoded data. By default 76 is used. -
lineSeparator
The line separators to use. Uses new line characters (CRLF) by default. -
urlSafe
Instead of emitting '+' and '/' we emit '-' and '_' respectively. urlSafe is only applied to encode operations. Decoding seamlessly handles both modes. Is by default false. -
urlSafe
Instead of emitting '+' and '/' we emit '-' and '_' respectively. urlSafe is only applied to encode operations. Decoding seamlessly handles both modes. Is by default false. -
end
Description copied from interface:DataFormatBuilderEnds the build of the data format.- Specified by:
endin interfaceDataFormatBuilder<Base64DataFormat>- Returns:
- the data format fully built.
-