EncodeContent
Description
Encode or decode the contents of a FlowFile using Base64, Base32, or hex encoding schemes
Tags
base32, base64, decode, encode, hex
Properties
In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Mode * | Mode | Encode |
| Specifies whether the content should be encoded or decoded. |
Encoding * | Encoding | Base64 |
| Specifies the type of encoding used. |
Line Output Mode * | Line Output Mode | Single Line |
| Controls the line formatting for encoded content based on selected property values. This property is only considered if:
|
Encoded Line Length * | Encoded Line Length | 76 | Each line of encoded data will contain up to the configured number of characters, rounded down to the nearest multiple of 4. Supports Expression Language, using FlowFile attributes and Environment variables. This property is only considered if:
|
Dynamic Properties
This component does not support dynamic properties.
Relationships
Name | Description |
---|---|
failure | Any FlowFile that cannot be encoded or decoded will be routed to failure |
success | Any FlowFile that is successfully encoded or decoded will be routed to success |
Reads Attributes
This processor does not read attributes.
Writes Attributes
This processor does not write attributes.
State Management
This component does not store state.
Restricted
This component is not restricted.
Input Requirement
This component requires an incoming relationship.
System Resource Considerations
This component does not specify system resource considerations.