Class Base64DataFormat


  • @Metadata(firstVersion="2.11.0",
              label="dataformat,transformation",
              title="Base64")
    public class Base64DataFormat
    extends DataFormatDefinition
    Encode and decode data using Base64.
    • Constructor Detail

      • Base64DataFormat

        public Base64DataFormat()
    • Method Detail

      • getLineLength

        public String getLineLength()
      • setLineLength

        public void setLineLength​(String lineLength)
        To specific a maximum line length for the encoded data.

        By default 76 is used.

      • getLineSeparator

        public String getLineSeparator()
      • setLineSeparator

        public void setLineSeparator​(String lineSeparator)
        The line separators to use.

        Uses new line characters (CRLF) by default.

      • getUrlSafe

        public String getUrlSafe()
      • setUrlSafe

        public void setUrlSafe​(String 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.