|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.axiom.document.loader.FileCache
A cache for file objects that uses a WeakHashMap.
This can be used by applications that will generate a lot of File object to avoid memory problems.
Constructor Summary | |
FileCache()
|
Method Summary | |
static java.io.File |
getFile(java.io.File dir,
java.lang.String path)
Get the file object for the given directory and path. |
static java.io.File |
getFile(java.lang.String path)
Get the file object for the given path. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public FileCache()
Method Detail |
public static java.io.File getFile(java.lang.String path)
public static java.io.File getFile(java.io.File dir, java.lang.String path)
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |