public class StaticResources extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheCMap(String name,
CMap cMap)
Caches CMap object.
|
static void |
cacheStructureNameSpace(PDStructureNameSpace nameSpace)
Caches structure name space.
|
static void |
clear()
Clears all cached static resources.
|
static CMap |
getCMap(String name)
Gets CMap for this string key.
|
static PDStructureNameSpace |
getStructureNameSpace(COSKey key)
Gets cached pd structure name space.
|
public static void cacheCMap(String name, CMap cMap)
name - is string key for cached CMap.cMap - is CMap object for caching.public static CMap getCMap(String name)
name - is key for CMap.public static void cacheStructureNameSpace(PDStructureNameSpace nameSpace)
nameSpace - is PD structure name space to cache.public static PDStructureNameSpace getStructureNameSpace(COSKey key)
key - is COSKey of namespace to get.public static void clear()
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.