|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jqurantree.arabic.encoding.ArabicDecoderBase
public abstract class ArabicDecoderBase
ArabicDecoderBase
is an abstract base class providing a common
implementation for ArabicText
decoders. The
class supports the
ArabicText.fromEncoding(String, EncodingType)
method by implementing table-driven decoding. An EncodingTableBase
instance is used to lookup the mapping for each character in the source text.
Constructor Summary | |
---|---|
protected |
ArabicDecoderBase(EncodingTableBase encodingTable)
Creates a new decoder using the specified encoding table. |
Method Summary | |
---|---|
byte[] |
decode(java.lang.String text)
Decodes a plain text string into the internal
ByteFormat according to the encoding
scheme. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ArabicDecoderBase(EncodingTableBase encodingTable)
encodingTable
- the encoding table to use when performing table-driven
decoding.Method Detail |
---|
public byte[] decode(java.lang.String text)
ArabicDecoder
string
into the internal
ByteFormat
according to the encoding
scheme.
decode
in interface ArabicDecoder
text
- the plain text string
to decode
byte[]
array in the internal
ByteFormat
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |