Class EncodedData<T>
- java.lang.Object
-
- com.adobe.internal.pdftoolkit.core.util.EncodedData<T>
-
public class EncodedData<T> extends java.lang.ObjectThis class holds the encoding name and the length of data after encoding is applied.
-
-
Constructor Summary
Constructors Constructor Description EncodedData(Encoding encoding, int encodedDataLength, T encodedOutput)Constructor to get the new object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEncodedDataLength()Returns the length of encoded data.TgetEncodedOutput()EncodinggetEncoding()Returns the encoding name.voidsetEncodedDataLength(int encodedDataLength)Sets the length of encoded data.voidsetEncodedOutput(T encodedOutput)voidsetEncoding(Encoding encoding)Sets the encoding name.
-
-
-
Method Detail
-
setEncoding
public void setEncoding(Encoding encoding)
Sets the encoding name.- Parameters:
encoding-
-
getEncodedDataLength
public int getEncodedDataLength()
Returns the length of encoded data.- Returns:
- int
-
setEncodedDataLength
public void setEncodedDataLength(int encodedDataLength)
Sets the length of encoded data.- Parameters:
encodedDataLength-
-
getEncodedOutput
public T getEncodedOutput()
-
setEncodedOutput
public void setEncodedOutput(T encodedOutput)
-
-