All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tn5250j.encoding.builtin.ICodepageConverter Maven / Gradle / Ivy

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 a String
	 */
	public abstract String getName();

	/**
	 * Returns a short description for this converter.
	 * For Example '273 - German, EBCDIC'
	 *
	 * @return a String
	 */
	public abstract String getDescription();

	/**
	 * Does special initialization stuff for this converter.
	 * 
	 * @return a converter
	 */
	public abstract ICodepageConverter init();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy