Mercurial > 510Connectbot
comparison src/org/tn5250j/encoding/AbstractCodePage.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 | 77ac18bc1b2f |
comparison
equal
deleted
inserted
replaced
4:1f5d9b76a183 | 5:cbdff98c45ea |
---|---|
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 | |
36 protected AbstractCodePage(String encoding) { | |
37 this.encoding = encoding; | |
38 } | |
39 | |
40 public String getEncoding() { | |
41 return encoding; | |
42 } | |
43 | |
44 protected String encoding; | |
45 } |