5
|
1 /**
|
|
2 * Title: CodePage.java
|
|
3 * Copyright: Copyright (c) 2001, 2002, 2003
|
|
4 * Company:
|
|
5 * @author Kenneth J. Pouncey
|
|
6 * rewritten by LDC, WVL, Luc
|
|
7 * @version 0.4
|
|
8 *
|
|
9 * Description:
|
|
10 *
|
|
11 * This program is free software; you can redistribute it and/or modify
|
|
12 * it under the terms of the GNU General Public License as published by
|
|
13 * the Free Software Foundation; either version 2, or (at your option)
|
|
14 * any later version.
|
|
15 *
|
|
16 * This program is distributed in the hope that it will be useful,
|
|
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19 * GNU General Public License for more details.
|
|
20 *
|
|
21 * You should have received a copy of the GNU General Public License
|
|
22 * along with this software; see the file COPYING. If not, write to
|
|
23 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
|
24 * Boston, MA 02111-1307 USA
|
|
25 *
|
|
26 */
|
|
27 package org.tn5250j.encoding;
|
|
28
|
|
29 /**
|
|
30 *
|
|
31 * This class controls the translation from EBCDIC to ASCII and ASCII to EBCDIC
|
|
32 *
|
|
33 */
|
|
34 public abstract class AbstractCodePage implements ICodePage {
|
|
35
|
112
|
36 protected AbstractCodePage(String encoding) {
|
|
37 this.encoding = encoding;
|
|
38 }
|
5
|
39
|
112
|
40 public String getEncoding() {
|
|
41 return encoding;
|
|
42 }
|
5
|
43
|
112
|
44 protected String encoding;
|
5
|
45 }
|