Package org.tn5250j.encoding.builtin
Interface ICodepageConverter
-
- All Superinterfaces:
ICodePage
- All Known Implementing Classes:
CCSID1025,CCSID1026,CCSID1112,CCSID1140,CCSID1141,CCSID1147,CCSID1148,CCSID273,CCSID277,CCSID278,CCSID280,CCSID284,CCSID285,CCSID297,CCSID37,CCSID424,CCSID500,CCSID870,CCSID871,CCSID875,CodepageConverterAdapter
public interface ICodepageConverter extends ICodePage
Interface for classes which do the translation from EBCDIC bytes to Unicode characters and vice versa.
-
-
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()Returns a short description for this converter.java.lang.StringgetName()Returns an name/ID for this converter.ICodepageConverterinit()Does special initialization stuff for this converter.-
Methods inherited from interface org.tn5250j.encoding.ICodePage
ebcdic2uni, uni2ebcdic
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns an name/ID for this converter. Example '273' or 'CP1252'. This name should be unique, cause it's used in user settungs and so on.- Returns:
- a String
-
getDescription
java.lang.String getDescription()
Returns a short description for this converter. For Example '273 - German, EBCDIC'- Returns:
- a String
-
init
ICodepageConverter init()
Does special initialization stuff for this converter.- Returns:
- a converter
-
-