Example usage for Java org.apache.pdfbox.cos COSStream fields, constructors, methods, implement or subclass
The text is from its open source code.
COSStream(ScratchFile scratchFile) Creates a new stream with an empty dictionary. | |
COSStream() Creates a new stream with an empty dictionary. |
boolean | containsKey(COSName name) |
OutputStream | createOutputStream(COSBase filters) Returns a new OutputStream for writing stream data, using and the given filters. |
OutputStream | createOutputStream() Returns a new OutputStream for writing stream data, using the current filters. |
COSBase | getDictionaryObject(String key) This will get an object from this dictionary. |
COSBase | getFilters() This will return the filters to apply to the byte stream. |
int | getInt(String key) This is a convenience method that will get the dictionary object that is expected to be an int. |
COSBase | getItem(COSName key) This will do a lookup into the dictionary. |
String | getNameAsString(String key) This is a convenience method that will get the dictionary object that is expected to be a name and convert it to a string. |
void | removeItem(COSName key) This will remove an item for the dictionary. |
void | setItem(COSName key, COSBase value) This will set an item in the dictionary. |