view app/src/main/java/org/tn5250j/encoding/AbstractCodePage.java @ 444:5a74f1b7c1db
migrate from Eclipse to Android Studio
author
Carl Byington <carl@five-ten-sg.com>
date
Thu, 03 Dec 2015 12:33:34 -0800 (2015-12-03)
parents
d29cce60f393
children
line source
+ − /**
+ − * Title: CodePage.java
+ − * Copyright: Copyright (c) 2001, 2002, 2003
+ − * Company:
+ − * @author Kenneth J. Pouncey
+ − * rewritten by LDC, WVL, Luc
+ − * @version 0.4
+ − *
+ − * Description:
+ − *
+ − * This program is free software; you can redistribute it and/or modify
+ − * it under the terms of the GNU General Public License as published by
+ − * the Free Software Foundation; either version 2, or (at your option)
+ − * any later version.
+ − *
+ − * This program is distributed in the hope that it will be useful,
+ − * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ − * GNU General Public License for more details.
+ − *
+ − * You should have received a copy of the GNU General Public License
+ − * along with this software; see the file COPYING. If not, write to
+ − * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ − * Boston, MA 02111-1307 USA
+ − *
+ − */
+ − package org.tn5250j.encoding;
+ −
+ − /**
+ − *
+ − * This class controls the translation from EBCDIC to ASCII and ASCII to EBCDIC
+ − *
+ − */
+ − public abstract class AbstractCodePage implements ICodePage {
+ −
+ − protected AbstractCodePage(String encoding) {
+ − this.encoding = encoding;
+ − }
+ −
+ − public String getEncoding() {
+ − return encoding;
+ − }
+ −
+ − protected String encoding;
+ − }