public class SWFCache extends ConcurrentCacheStoreBase<ITagContainer>
SoftReference to a
collection of SWF tags.| Modifier and Type | Class and Description |
|---|---|
protected static class |
SWFCache.SWFFileCacheKey
Key object for
SWFCache. |
protected static class |
SWFCache.SWFInSWCCacheKey
Key object for
SWFCache. |
| Constructor and Description |
|---|
SWFCache(SWCManager swcManager) |
| Modifier and Type | Method and Description |
|---|---|
protected ITagContainer |
createEntryValue(CacheStoreKeyBase key)
Get all the tags from a SWF file.
|
static SWFCache.SWFInSWCCacheKey |
createKey(ISWC swc,
String swfPath)
Factory method for creating a key object for
SWCCache. |
static SWFCache.SWFFileCacheKey |
createKey(String swfFileName)
Factory method for creating a key object for
SWCCache. |
static Collection<SymbolClassTag> |
findAllSymbolClassTags(ITagContainer tags)
Find all
SymbolClassTag contained in the SWF. |
static DoABCTag |
findDoABCTagByName(ITagContainer tags,
String abcName)
Find
DoABC tag by name. |
get, remove, size, toStringpublic SWFCache(SWCManager swcManager)
swcManager - The object that manages SWC files.public static SWFCache.SWFInSWCCacheKey createKey(ISWC swc, String swfPath)
SWCCache.swc - SWC file (optional)swfPath - path to a SWF filepublic static SWFCache.SWFFileCacheKey createKey(String swfFileName)
SWCCache.swfFileName - path to a SWF filepublic static DoABCTag findDoABCTagByName(ITagContainer tags, String abcName)
DoABC tag by name.tags - list of tagsabcName - abc nameDoABCTag or nullpublic static Collection<SymbolClassTag> findAllSymbolClassTags(ITagContainer tags)
SymbolClassTag contained in the SWF.tags - list of tagsSymbolClassTagprotected ITagContainer createEntryValue(CacheStoreKeyBase key)
createEntryValue in class ConcurrentCacheStoreBase<ITagContainer>key - ICacheStoreKey key objectITagContainer contains all the tags in the SWF file.Copyright © 2016 The Apache Software Foundation. All rights reserved.