| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PDColorSpace | getColorSpace(COSObject
the indirect reference of the colorspace to be returned indirect)Implements org. Returns the color space resource for the given indirect object, if it is in the cache. |
| public PDExtendedGraphicsState | getExtGState(COSObject
the indirect reference of the extended graphics state to be returned indirect)Implements org. Returns the extended graphics state resource for the given indirect object, if it is in the cache. |
| public PDFont | getFont(COSObject
the indirect reference of the font to be returned indirect)Implements org. Returns the font resource for the given indirect object, if it is in the cache. |
| public PDAbstractPattern | getPattern(COSObject
the indirect reference of the pattern to be returned indirect)Implements org. Returns the pattern resource for the given indirect object, if it is in the cache. |
| public PDPropertyList | getProperties(COSObject
the indirect reference of the property list to be returned indirect)Implements org. Returns the property list resource for the given indirect object, if it is in the cache. |
| public PDShading | getShading(COSObject
the indirect reference of the shading to be returned indirect)Implements org. Returns the shading resource for the given indirect object, if it is in the cache. |
| public PDXObject | getXObject(COSObject
the indirect reference of the XObject to be returned indirect)Implements org. Returns the XObject resource for the given indirect object, if it is in the cache. |
| public void | put(COSObject
the indirect reference of the font to be cached indirect, PDFont the font to be cached font)Implements org. Puts the given indirect font resource in the cache. |
| public void | put(COSObject
the indirect reference of the colorspace to be cached indirect, PDColorSpace the colorspace to be cached colorSpace)Implements org. Puts the given indirect color space resource in the cache. |
| public void | put(COSObject
the indirect reference of the extended graphics state to be cached indirect, PDExtendedGraphicsState the extended graphics state to be cached extGState)Implements org. Puts the given indirect extended graphics state resource in the cache. |
| public void | put(COSObject
the indirect reference of the shading to be cached indirect, PDShading the shading to be cached shading)Implements org. Puts the given indirect shading resource in the cache. |
| public void | put(COSObject
the indirect reference of the pattern to be cached indirect, PDAbstractPattern the pattern to be cached pattern)Implements org. Puts the given indirect pattern resource in the cache. |
| public void | put(COSObject
the indirect reference of the property list to be cached indirect, PDPropertyList the property list to be cached propertyList)Implements org. Puts the given indirect property list resource in the cache. |
| public void | put(COSObject
the indirect reference of the XObject to be cached indirect, PDXObject the XObject to be cached xobject)Implements org. Puts the given indirect XObject resource in the cache. |
| colorSpaces | back to summary |
|---|---|
| private final Map<COSObject, SoftReference<PDColorSpace>> colorSpaces | |
| extGStates | back to summary |
|---|---|
| private final Map<COSObject, SoftReference<PDExtendedGraphicsState>> extGStates | |
| fonts | back to summary |
|---|---|
| private final Map<COSObject, SoftReference<PDFont>> fonts | |
| patterns | back to summary |
|---|---|
| private final Map<COSObject, SoftReference<PDAbstractPattern>> patterns | |
| properties | back to summary |
|---|---|
| private final Map<COSObject, SoftReference<PDPropertyList>> properties | |
| shadings | back to summary |
|---|---|
| private final Map<COSObject, SoftReference<PDShading>> shadings | |
| xobjects | back to summary |
|---|---|
| private final Map<COSObject, SoftReference<PDXObject>> xobjects | |
| DefaultResourceCache | back to summary |
|---|---|
| public DefaultResourceCache() | |
| getColorSpace | back to summary |
|---|---|
| public PDColorSpace getColorSpace(COSObject indirect) Implements org. Doc from org. Returns the color space resource for the given indirect object, if it is in the cache.
| |
| getExtGState | back to summary |
|---|---|
| public PDExtendedGraphicsState getExtGState(COSObject indirect) Implements org. Doc from org. Returns the extended graphics state resource for the given indirect object, if it is in the cache.
| |
| getFont | back to summary |
|---|---|
| public PDFont getFont(COSObject indirect) Implements org. Doc from org. Returns the font resource for the given indirect object, if it is in the cache. | |
| getPattern | back to summary |
|---|---|
| public PDAbstractPattern getPattern(COSObject indirect) Implements org. Doc from org. Returns the pattern resource for the given indirect object, if it is in the cache.
| |
| getProperties | back to summary |
|---|---|
| public PDPropertyList getProperties(COSObject indirect) Implements org. Doc from org. Returns the property list resource for the given indirect object, if it is in the cache.
| |
| getShading | back to summary |
|---|---|
| public PDShading getShading(COSObject indirect) Implements org. Doc from org. Returns the shading resource for the given indirect object, if it is in the cache. | |
| getXObject | back to summary |
|---|---|
| public PDXObject getXObject(COSObject indirect) Implements org. Doc from org. Returns the XObject resource for the given indirect object, if it is in the cache. | |
| put | back to summary |
|---|---|
| public void put(COSObject indirect, PDFont font) Implements org. Doc from org. Puts the given indirect font resource in the cache. | |
| put | back to summary |
|---|---|
| public void put(COSObject indirect, PDColorSpace colorSpace) Implements org. Doc from org. Puts the given indirect color space resource in the cache.
| |
| put | back to summary |
|---|---|
| public void put(COSObject indirect, PDExtendedGraphicsState extGState) Implements org. Doc from org. Puts the given indirect extended graphics state resource in the cache.
| |
| put | back to summary |
|---|---|
| public void put(COSObject indirect, PDShading shading) Implements org. Doc from org. Puts the given indirect shading resource in the cache. | |
| put | back to summary |
|---|---|
| public void put(COSObject indirect, PDAbstractPattern pattern) Implements org. Doc from org. Puts the given indirect pattern resource in the cache.
| |
| put | back to summary |
|---|---|
| public void put(COSObject indirect, PDPropertyList propertyList) Implements org. Doc from org. Puts the given indirect property list resource in the cache.
| |
| put | back to summary |
|---|---|
| public void put(COSObject indirect, PDXObject xobject) Implements org. Doc from org. Puts the given indirect XObject resource in the cache. | |