|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.content.loader.bulk.FileCache
public class 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 File |
getFile(File dir,
String path)
Get the file object for the given directory and path. |
static File |
getFile(String path)
Get the file object for the given path. |
static File |
getFile(String parentDir,
String filename)
|
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 File getFile(String path)
public static File getFile(File dir, String path)
public static File getFile(String parentDir, String filename)
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |