Class Base64Decoder

All Implemented Interfaces:
Decoder

public class Base64Decoder extends AbstractBaseNDecoder
Stateful base 64 decoder with support for line breaks.
Author:
Middleware Services
  • Constructor Details

    • Base64Decoder

      public Base64Decoder()
      Creates a new instance that decodes base 64-encoded input in the default character set.
    • Base64Decoder

      public Base64Decoder(boolean urlSafe)
      Creates a new instance that decodes base 64-encoded input in the optional URL-safe character set.
      Parameters:
      urlSafe - True to use URL and filesystem-safe character set, false otherwise.
    • Base64Decoder

      public Base64Decoder(String alphabet)
      Creates a new instance that decodes base-64 character data encoded in the given alphabet.
      Parameters:
      alphabet - Base-64 alphabet to use for decoding
  • Method Details