public interface ResourceCache
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the cache
|
PDColorSpace |
getColorSpace(COSObjectKey key)
Returns the color space resource for the given key object, if it is in the cache.
|
PDExtendedGraphicsState |
getExtGState(COSObjectKey key)
Returns the external graphics state resource for the given key object, if it is in the cache.
|
PDFont |
getFont(COSObjectKey key)
Returns the font resource for the given key object, if it is in the cache.
|
PDAbstractPattern |
getPattern(COSObjectKey key)
Returns the pattern resource for the given key object, if it is in the cache.
|
PDPropertyList |
getProperties(COSObjectKey key)
Returns the property list resource for the given key object, if it is in the cache.
|
PDShading |
getShading(COSObjectKey key)
Returns the shading resource for the given key object, if it is in the cache.
|
PDXObject |
getXObject(COSObjectKey key)
Returns the XObject resource for the given key object, if it is in the cache.
|
void |
put(COSObjectKey key,
PDAbstractPattern pattern)
Puts the given key pattern resource in the cache.
|
void |
put(COSObjectKey key,
PDColorSpace colorSpace)
Puts the given key color space resource in the cache.
|
void |
put(COSObjectKey key,
PDExtendedGraphicsState extGState)
Puts the given key extended graphics state resource in the cache.
|
void |
put(COSObjectKey key,
PDFont font)
Puts the given key font resource in the cache.
|
void |
put(COSObjectKey key,
PDPropertyList propertyList)
Puts the given key property list resource in the cache.
|
void |
put(COSObjectKey key,
PDShading shading)
Puts the given key shading resource in the cache.
|
void |
put(COSObjectKey key,
PDXObject xobject)
Puts the given key XObject resource in the cache.
|
PDFont getFont(COSObjectKey key) throws IOException
IOExceptionPDColorSpace getColorSpace(COSObjectKey key) throws IOException
IOExceptionPDExtendedGraphicsState getExtGState(COSObjectKey key)
PDShading getShading(COSObjectKey key) throws IOException
IOExceptionPDAbstractPattern getPattern(COSObjectKey key) throws IOException
IOExceptionPDPropertyList getProperties(COSObjectKey key)
PDXObject getXObject(COSObjectKey key) throws IOException
IOExceptionvoid put(COSObjectKey key, PDFont font) throws IOException
IOExceptionvoid put(COSObjectKey key, PDColorSpace colorSpace) throws IOException
IOExceptionvoid put(COSObjectKey key, PDExtendedGraphicsState extGState)
void put(COSObjectKey key, PDShading shading) throws IOException
IOExceptionvoid put(COSObjectKey key, PDAbstractPattern pattern) throws IOException
IOExceptionvoid put(COSObjectKey key, PDPropertyList propertyList)
void put(COSObjectKey key, PDXObject xobject) throws IOException
IOExceptionvoid clear()
Copyright © 2020 sejda. All rights reserved.