Package i2p.susi.webmail.encoding
Class EncodingFactory
java.lang.Object
i2p.susi.webmail.encoding.EncodingFactory
Manager class to handle content transfer encodings.
- Author:
- susi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns list of available encodings;static Encoding
getEncoding
(String name) Retrieve instance of an encoder for a supported encoding (or null).
-
Constructor Details
-
EncodingFactory
public EncodingFactory()
-
-
Method Details
-
getEncoding
Retrieve instance of an encoder for a supported encoding (or null).- Parameters:
name
- name of encoding (e.g. quoted-printable)- Returns:
- Encoder instance
-
availableEncodings
Returns list of available encodings;- Returns:
- List of encodings
-