Mercurial > 510Connectbot
comparison app/src/main/java/org/tn5250j/encoding/builtin/ICodepageConverter.java @ 438:d29cce60f393
migrate from Eclipse to Android Studio
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 03 Dec 2015 11:23:55 -0800 |
parents | src/org/tn5250j/encoding/builtin/ICodepageConverter.java@77ac18bc1b2f |
children |
comparison
equal
deleted
inserted
replaced
437:208b31032318 | 438:d29cce60f393 |
---|---|
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 } |