public interface ResourceCache
| Modifier and Type | Method and Description |
|---|---|
PDColorSpace |
getColorSpace(COSObject indirect)
Returns the color space resource for the given indirect object, if it is in the cache.
|
PDExtendedGraphicsState |
getExtGState(COSObject indirect)
Returns the extended graphics state resource for the given indirect object, if it is in the cache.
|
PDFont |
getFont(COSObject indirect)
Returns the font resource for the given indirect object, if it is in the cache.
|
PDAbstractPattern |
getPattern(COSObject indirect)
Returns the pattern resource for the given indirect object, if it is in the cache.
|
PDPropertyList |
getProperties(COSObject indirect)
Returns the property list resource for the given indirect object, if it is in the cache.
|
PDShading |
getShading(COSObject indirect)
Returns the shading resource for the given indirect object, if it is in the cache.
|
PDXObject |
getXObject(COSObject indirect)
Returns the XObject resource for the given indirect object, if it is in the cache.
|
void |
put(COSObject indirect,
PDAbstractPattern pattern)
Puts the given indirect pattern resource in the cache.
|
void |
put(COSObject indirect,
PDColorSpace colorSpace)
Puts the given indirect color space resource in the cache.
|
void |
put(COSObject indirect,
PDExtendedGraphicsState extGState)
Puts the given indirect extended graphics state resource in the cache.
|
void |
put(COSObject indirect,
PDFont font)
Puts the given indirect font resource in the cache.
|
void |
put(COSObject indirect,
PDPropertyList propertyList)
Puts the given indirect property list resource in the cache.
|
void |
put(COSObject indirect,
PDShading shading)
Puts the given indirect shading resource in the cache.
|
void |
put(COSObject indirect,
PDXObject xobject)
Puts the given indirect XObject resource in the cache.
|
PDFont getFont(COSObject indirect)
indirect - the indirect reference of the font to be returnedPDColorSpace getColorSpace(COSObject indirect)
indirect - the indirect reference of the colorspace to be returnedPDExtendedGraphicsState getExtGState(COSObject indirect)
indirect - the indirect reference of the extended graphics state to be returnedPDShading getShading(COSObject indirect)
indirect - the indirect reference of the shading to be returnedPDAbstractPattern getPattern(COSObject indirect)
indirect - the indirect reference of the pattern to be returnedPDPropertyList getProperties(COSObject indirect)
indirect - the indirect reference of the property list to be returnedPDXObject getXObject(COSObject indirect)
indirect - the indirect reference of the XObject to be returnedvoid put(COSObject indirect, PDFont font)
indirect - the indirect reference of the font to be cachedfont - the font to be cachedvoid put(COSObject indirect, PDColorSpace colorSpace)
indirect - the indirect reference of the colorspace to be cachedcolorSpace - the colorspace to be cachedvoid put(COSObject indirect, PDExtendedGraphicsState extGState)
indirect - the indirect reference of the extended graphics state to be cachedextGState - the extended graphics state to be cachedvoid put(COSObject indirect, PDShading shading)
indirect - the indirect reference of the shading to be cachedshading - the shading to be cachedvoid put(COSObject indirect, PDAbstractPattern pattern)
indirect - the indirect reference of the pattern to be cachedpattern - the pattern to be cachedvoid put(COSObject indirect, PDPropertyList propertyList)
indirect - the indirect reference of the property list to be cachedpropertyList - the property list to be cachedCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.