comparison src/org/tn5250j/encoding/builtin/ICodepageConverter.java @ 5:cbdff98c45ea tn5250

adding tn5250 files
author Carl Byington <carl@five-ten-sg.com>
date Thu, 22 May 2014 12:38:09 -0700
parents
children b29b39f386a4
comparison
equal deleted inserted replaced
4:1f5d9b76a183 5:cbdff98c45ea
1 package org.tn5250j.encoding.builtin;
2
3 import org.tn5250j.encoding.ICodePage;
4
5 /**
6 * Interface for classes which do the translation from
7 * EBCDIC bytes to Unicode characters and vice versa.
8 *
9 */
10 public interface ICodepageConverter extends ICodePage {
11
12 /**
13 * Returns an name/ID for this converter.
14 * Example '273' or 'CP1252'. This name should be unique,
15 * cause it's used in user settungs and so on.
16 *
17 * @return
18 */
19 public abstract String getName();
20
21 /**
22 * Returns a short description for this converter.
23 * For Example '273 - German, EBCDIC'
24 *
25 * @return
26 */
27 public abstract String getDescription();
28
29 /**
30 * Does special initialization stuff for this converter.
31 */
32 public abstract ICodepageConverter init();
33
34 }