Class EncodedData<T>
- java.lang.Object
-
- com.adobe.internal.pdftoolkit.core.util.EncodedData<T>
-
public class EncodedData<T> extends Object
This 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 int
getEncodedDataLength()
Returns the length of encoded data.T
getEncodedOutput()
Encoding
getEncoding()
Returns the encoding name.void
setEncodedDataLength(int encodedDataLength)
Sets the length of encoded data.void
setEncodedOutput(T encodedOutput)
void
setEncoding(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)
-
-