com.upokecenter.text.ICharacterEncoding Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of encoding Show documentation
Show all versions of encoding Show documentation
A Java library that implements character encodings used in Web pages and email.
package com.upokecenter.text;
import java.io.*;
import com.upokecenter.util.*;
///
/// Defines methods that can be implemented by classes
/// that convert to and from bytes and character code points.
///
public interface ICharacterEncoding {
/**
* Creates an encoder for this character encoding with initial state. If the
* encoder is stateless, multiple calls of this method can return the
* same encoder.
* @return A character encoder object.
*/
ICharacterEncoder GetEncoder();
/**
* Creates a decoder for this character encoding with initial state. If the
* decoder is stateless, multiple calls of this method can return the
* same decoder.
* @return A character decoder object.
*/
ICharacterDecoder GetDecoder();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy