org.jqurantree.arabic.encoding
Interface ArabicEncoder

All Known Implementing Classes:
ArabicEncoderBase, BuckwalterEncoder, SimpleEncoder, UnicodeEncoder

public interface ArabicEncoder

Interface for classes which encode ArabicText. This interface is used to support the ArabicText.toString(EncodingType) method.

Author:
Kais Dukes

Method Summary
 java.lang.String encode(byte[] buffer, int offset, int characterCount, EncodingOptions options)
          Encodes the internal ByteFormat into plain text according to the encoding scheme.
 

Method Detail

encode

java.lang.String encode(byte[] buffer,
                        int offset,
                        int characterCount,
                        EncodingOptions options)
Encodes the internal ByteFormat into plain text according to the encoding scheme.

Parameters:
buffer - the byte[] array to encode in the internal ByteFormat
offset - the starting offset in the buffer
characterCount - the number of characters to encode. Each character is represented by 3 bytes in the buffer.
Returns:
a plain text string


Copyright© Kais Dukes, 2009. All Rights Reserved.