Example usage for Java org.apache.pdfbox.cos COSArray fields, constructors, methods, implement or subclass
The text is from its open source code.
COSArray() Constructor. |
void | add(COSBase object) This will add an object to the array. |
void | add(COSObjectable object) This will add an object to the array. |
void | add(int i, COSBase object) Add the specified object at the ith location and push the rest to the right. |
void | addAll(Collection This will add an object to the array. |
void | addAll(COSArray objectList) This will add all objects to this array. |
void | clear() This will remove all of the objects in the collection. |
COSBase | get(int index) This will get an object from the array. |
int | getInt(int index) Get the value of the array as an integer. |
COSBase | getObject(int index) This will get an object from the array. |
String | getString(int index) Get the value of the array as a string. |
int | indexOf(COSBase object) This will return the index of the entry or -1 if it is not found. |
int | indexOfObject(COSBase object) This will return the index of the entry or -1 if it is not found. |
Iterator | iterator() Get access to the list. |
void | setNeedToBeUpdated(boolean flag) Although the state is set, it has no effect on COSWriter behavior because arrays are always written as direct object. |
int | size() This will get the size of this array. |
float[] | toFloatArray() This will take an COSArray of numbers and convert it to a float[]. |
List extends COSBase> | toList() Return contents of COSArray as a Java List. |
String | toString() |