|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.plb4jedit.plb.IncludeCache
implements a caching mechanism for Include objects. TODO: handle MAX_ENTRY, at the moment only a WeakHashMap is used. * @author Peter Schaefer
Method Summary | |
Set |
content()
actual content (keys, Strings of absolutePath) of the cache |
Include |
get(String absolutePath)
gets the Include specified by its absolute path. |
static IncludeCache |
getInstance()
gives access to the singletion instance of this cache. |
int |
getSize()
actual size of this cache |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static IncludeCache getInstance()
public Include get(String absolutePath) throws FileNotFoundException, IOException
absolutePath
-
FileNotFoundException
IOException
public Set content()
public int getSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |