Package eu.europa.esig.dss.pdf
Interface PdfArray
-
Method Summary
Modifier and TypeMethodDescriptionvoidAddspdfObjectgetAsDict(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 igetObjectKey(int i) Retrieves the Object key for the position igetObjectNumber(int i) Deprecated.since DSS 6.2.byte[]getStreamBytes(int i) Retrieves the stream byte array at the position igetString(int i) Returns a String entry at the position ivoidsetDirect(boolean direct) Sets whether the array shall be written directly to its parentintsize()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
Deprecated.since DSS 6.2. Please use#getObjectKeymethod insteadRetrieves the Object Number for the position i- Parameters:
i- the position- Returns:
- the object number
-
getObjectKey
Retrieves the Object key for the position i- Parameters:
i- the position- Returns:
PdfObjectKey
-
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
-