Class EncodingFactory

java.lang.Object
i2p.susi.webmail.encoding.EncodingFactory

public class EncodingFactory
extends Object
Manager class to handle content transfer encodings.
Author:
susi
  • Constructor Details

  • Method Details

    • getEncoding

      public static Encoding getEncoding​(String name)
      Retrieve instance of an encoder for a supported encoding (or null).
      Parameters:
      name - name of encoding (e.g. quoted-printable)
      Returns:
      Encoder instance
    • availableEncodings

      public static Set<String> availableEncodings()
      Returns list of available encodings;
      Returns:
      List of encodings