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

com.upokecenter.text.ICharacterEncoding Maven / Gradle / Ivy

Go to download

A Java library that implements character encodings used in Web pages and email.

There is a newer version: 0.6.0
Show newest version
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