Package eu.europa.esig.dss.pdf
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 byte[]getBytes(int i)Retrieves the byte array at the position iintgetInt(int i)Retrieves the integer at the position ilonggetObjectNumber(int i)Retrieves the Object Number for the position iintsize()Retrieves the array size
-
Method Details
-
size
int size()Retrieves the array size- Returns:
- the size of the current array
-
getBytes
Retrieves the byte array at the position i- Parameters:
i- the position- Returns:
- the found byte array
- Throws:
IOException
-
getObjectNumber
long getObjectNumber(int i)Retrieves the Object Number for the position i- Parameters:
i- the position- Returns:
- the object number
-
getInt
Retrieves the integer at the position i- Parameters:
i- the position- Returns:
- the found integer
- Throws:
IOException
-