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 TypeMethodDescriptiongetAsDict
(int i) Returns a dictionary entry at the position igetNumber
(int i) Retrieves the number at the position igetObject
(int i) Returns an object entry at the position igetObjectNumber
(int i) Retrieves the Object Number for the position ibyte[]
getStreamBytes
(int i) Retrieves the stream byte array at the position igetString
(int i) Returns a String entry at the position iint
size()
Retrieves the array size
-
Method Details
-
size
int size()Retrieves the array size- Returns:
- the size of the current array
-
getStreamBytes
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
Retrieves the Object Number for the position i- Parameters:
i
- the position- Returns:
- the object number
-
getNumber
Retrieves the number at the position i- Parameters:
i
- the position- Returns:
- the found number
-
getString
Returns a String entry at the position i- Parameters:
i
- the position- Returns:
String
-
getAsDict
Returns a dictionary entry at the position i- Parameters:
i
- the position- Returns:
PdfDict
-
getObject
Returns an object entry at the position i- Parameters:
i
- the position- Returns:
Object
-