Class cryptix.pgp.charset.CharSet
All Packages Class Hierarchy This Package Previous Next Index
Class cryptix.pgp.charset.CharSet
java.lang.Object
|
+----cryptix.pgp.charset.CharSet
- public class CharSet
- extends Object
This abstract class contains static methods to convert between PGP's
internal character set, and any charset whose name is recognised
by old-PGP.
- Author:
- Jill Baker
-
CharSet()
-
-
decode(byte[], String)
- Convert a byte[] buffer from the specified charset
to PGP's internal form.
-
encode(byte[], String)
- Convert a byte[] buffer from PGP's internal form to the specified
charset.
CharSet
public CharSet()
encode
public static byte[] encode(byte in[],
String name) throws FormatException
- Convert a byte[] buffer from PGP's internal form to the specified
charset.
decode
public static byte[] decode(byte in[],
String name) throws FormatException
- Convert a byte[] buffer from the specified charset
to PGP's internal form.
All Packages Class Hierarchy This Package Previous Next Index