Class EncodedData<T>
java.lang.Object
com.adobe.internal.pdftoolkit.core.util.EncodedData<T>
This class holds the encoding name and the length of
data after encoding is applied.
-
Constructor Summary
ConstructorsConstructorDescriptionEncodedData(Encoding encoding, int encodedDataLength, T encodedOutput) Constructor to get the new object. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the length of encoded data.Returns the encoding name.voidsetEncodedDataLength(int encodedDataLength) Sets the length of encoded data.voidsetEncodedOutput(T encodedOutput) voidsetEncoding(Encoding encoding) Sets the encoding name.
-
Constructor Details
-
EncodedData
Constructor to get the new object.- Parameters:
encoding-encodedDataLength-
-
-
Method Details
-
getEncoding
Returns the encoding name.- Returns:
Encoding
-
setEncoding
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
-
setEncodedOutput
-