Interface PdfArray


public interface PdfArray
The usage of this interface permit the user to choose the underlying PDF library use to created PDF signatures.
  • Method Summary

    Modifier and Type
    Method
    Description
    getAsDict(int i)
    Returns a dictionary entry at the position i
    getNumber(int i)
    Retrieves the number at the position i
    getObject(int i)
    Returns an object entry at the position i
    Retrieves the Object Number for the position i
    byte[]
    Retrieves the stream byte array at the position i
    getString(int i)
    Returns a String entry at the position i
    int
    Retrieves the array size
  • Method Details

    • size

      int size()
      Retrieves the array size
      Returns:
      the size of the current array
    • getStreamBytes

      byte[] getStreamBytes(int i) throws IOException
      Retrieves the stream byte array at the position i
      Parameters:
      i - the position
      Returns:
      the found stream byte array
      Throws:
      IOException - if an exception occurs
    • getObjectNumber

      Long getObjectNumber(int i)
      Retrieves the Object Number for the position i
      Parameters:
      i - the position
      Returns:
      the object number
    • getNumber

      Number getNumber(int i)
      Retrieves the number at the position i
      Parameters:
      i - the position
      Returns:
      the found number
    • getString

      String getString(int i)
      Returns a String entry at the position i
      Parameters:
      i - the position
      Returns:
      String
    • getAsDict

      PdfDict getAsDict(int i)
      Returns a dictionary entry at the position i
      Parameters:
      i - the position
      Returns:
      PdfDict
    • getObject

      Object getObject(int i)
      Returns an object entry at the position i
      Parameters:
      i - the position
      Returns:
      Object