org.gudy.azureus2.core3.internat
Class LocaleUtilDecoderReal
java.lang.Object
org.gudy.azureus2.core3.internat.LocaleUtilDecoderReal
- All Implemented Interfaces:
- LocaleUtilDecoder
public class LocaleUtilDecoderReal
- extends java.lang.Object
- implements LocaleUtilDecoder
Field Summary |
protected java.nio.charset.CharsetDecoder |
decoder
|
protected int |
index
|
Constructor Summary |
protected |
LocaleUtilDecoderReal(int _index,
java.nio.charset.CharsetDecoder _decoder)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
decoder
protected final java.nio.charset.CharsetDecoder decoder
index
protected final int index
LocaleUtilDecoderReal
protected LocaleUtilDecoderReal(int _index,
java.nio.charset.CharsetDecoder _decoder)
getName
public java.lang.String getName()
- Specified by:
getName
in interface LocaleUtilDecoder
getIndex
public int getIndex()
- Specified by:
getIndex
in interface LocaleUtilDecoder
tryDecode
public java.lang.String tryDecode(byte[] array,
boolean lax)
- Specified by:
tryDecode
in interface LocaleUtilDecoder
decodeString
public java.lang.String decodeString(byte[] bytes)
throws java.io.UnsupportedEncodingException
- Specified by:
decodeString
in interface LocaleUtilDecoder
- Throws:
java.io.UnsupportedEncodingException