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 Details

    • EncodedData

      public EncodedData(Encoding encoding, int encodedDataLength, T encodedOutput)
      Constructor to get the new object.
      Parameters:
      encoding -
      encodedDataLength -
  • Method Details

    • getEncoding

      public Encoding getEncoding()
      Returns the encoding name.
      Returns:
      Encoding
    • 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)