de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikipedia.language
Class EncodingType

java.lang.Object
  extended by de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikipedia.language.EncodingType

public class EncodingType
extends Object

Types of encodings. See more in: Effective Java. Programming language Guide. J.Bloch.


Field Summary
static EncodingType CP1251
          Cp1251
static EncodingType LATIN1
          latin1
static EncodingType UTF8
          UTF8
 
Method Summary
static EncodingType get(String name)
          Gets EncodingType by name
 CharsetDecoder getDecoder()
           
 CharsetEncoder getEncoder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LATIN1

public static final EncodingType LATIN1
latin1


CP1251

public static final EncodingType CP1251
Cp1251


UTF8

public static final EncodingType UTF8
UTF8

Method Detail

getDecoder

public CharsetDecoder getDecoder()

getEncoder

public CharsetEncoder getEncoder()

toString

public String toString()
Overrides:
toString in class Object

get

public static EncodingType get(String name)
                        throws NullPointerException
Gets EncodingType by name

Throws:
NullPointerException


Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.