comparison app/src/main/java/org/tn5250j/encoding/ICodePage.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/ICodePage.java@77ac18bc1b2f
children
comparison
equal deleted inserted replaced
437:208b31032318 438:d29cce60f393
1 package org.tn5250j.encoding;
2
3 public interface ICodePage {
4
5 /**
6 * Convert a single byte (or maybe more bytes which representing one character) to a Unicode character.
7 *
8 * @param index
9 * @return
10 */
11 public abstract char ebcdic2uni(int index);
12
13 /**
14 * Convert a Unicode character in it's byte representation.
15 * Therefore, only 8bit codepages are supported.
16 *
17 * @param index
18 * @return
19 */
20 public abstract byte uni2ebcdic(char index);
21
22 }