Package eu.europa.esig.dss.pdf
Interface PdfArray
-
Method Summary
Modifier and TypeMethodDescriptionvoid
AddspdfObject
getAsDict
(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 ivoid
setDirect
(boolean direct) Sets whether the array shall be written directly to its parentint
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
-
getAsDict
-
getObject
-
addObject
-
setDirect
void setDirect(boolean direct) Sets whether the array shall be written directly to its parent- Parameters:
direct
- whether the array shall be written directly
-