Package eu.europa.esig.dss.pdf
Interface PdfArray
-
public interface PdfArrayThe 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 Detail
-
size
int size()
Retrieves the array size- Returns:
- the size of the current array
-
getBytes
byte[] getBytes(int i) throws IOExceptionRetrieves 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
int getInt(int i) throws IOExceptionRetrieves the integer at the position i- Parameters:
i- the position- Returns:
- the found integer
- Throws:
IOException
-
-