view src/org/tn5250j/encoding/builtin/ICodepageConverter.java @ 78:044b1a951925 tn5250

convert 5250 to vt320 attributes
author Carl Byington <carl@five-ten-sg.com>
date Sun, 15 Jun 2014 11:05:06 -0700
parents b29b39f386a4
children 77ac18bc1b2f
line wrap: on
line source

package org.tn5250j.encoding.builtin;

import org.tn5250j.encoding.ICodePage;

/**
 * Interface for classes which do the translation from
 * EBCDIC bytes to Unicode characters and vice versa.
 * 
 */
public interface ICodepageConverter extends ICodePage {

	/**
	 * Returns an name/ID for this converter.
	 * Example '273' or 'CP1252'. This name should be unique,
	 * cause it's used in user settungs and so on.
	 * 
	 * @return
	 */
	public abstract String getName();
	
	/**
	 * Returns a short description for this converter.
	 * For Example '273 - German, EBCDIC'
	 * 
	 * @return
	 */
	public abstract String getDescription();
		
	/**
	 * Does special initialization stuff for this converter.
	 */
	public abstract ICodepageConverter init();
	
}