|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.util.SoftReferenceCache
org.apache.batik.ext.awt.color.NamedProfileCache
public class NamedProfileCache
This class manages a cache of soft references to named profiles that we have already loaded.
Field Summary |
---|
Fields inherited from class org.apache.batik.util.SoftReferenceCache |
---|
map |
Constructor Summary | |
---|---|
NamedProfileCache()
Let people create there own caches. |
Method Summary | |
---|---|
void |
clear(java.lang.String profileName)
Clear the entry for String. |
static NamedProfileCache |
getDefaultCache()
|
boolean |
isDone(java.lang.String profileName)
Check if request(profileName) will return immediately with the ICCColorSpaceExt. |
boolean |
isPresent(java.lang.String profileName)
Check if request(profileName) will return with a ICCColorSpaceExt (not putting you on the hook for it). |
void |
put(java.lang.String profileName,
ICCColorSpaceExt bi)
Associate bi with profileName. |
ICCColorSpaceExt |
request(java.lang.String profileName)
If this returns null then you are now 'on the hook'. |
Methods inherited from class org.apache.batik.util.SoftReferenceCache |
---|
clearImpl, flush, isDoneImpl, isPresentImpl, putImpl, requestImpl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamedProfileCache()
Method Detail |
---|
public static NamedProfileCache getDefaultCache()
public boolean isPresent(java.lang.String profileName)
public boolean isDone(java.lang.String profileName)
public ICCColorSpaceExt request(java.lang.String profileName)
public void clear(java.lang.String profileName)
public void put(java.lang.String profileName, ICCColorSpaceExt bi)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |