Class Base64DataFormat.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • lineLength

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

        By default 76 is used.

      • lineLength

        public Base64DataFormat.Builder lineLength​(int lineLength)
        To specific a maximum line length for the encoded data.

        By default 76 is used.

      • lineSeparator

        public Base64DataFormat.Builder lineSeparator​(String lineSeparator)
        The line separators to use.

        Uses new line characters (CRLF) by default.

      • urlSafe

        public Base64DataFormat.Builder urlSafe​(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.
      • urlSafe

        public Base64DataFormat.Builder urlSafe​(boolean 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.