com.bea.content.loader.bulk
Class FileCache
java.lang.Object
   com.bea.content.loader.bulk.FileCache
com.bea.content.loader.bulk.FileCache
- public class FileCache 
- extends Object
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.
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
FileCache
public FileCache()
getFile
public static File getFile(String path)
- Get the file object for the given path.
 
- 
 
getFile
public static File getFile(File dir,
                           String path)
- Get the file object for the given directory and path.
 
- 
 
getFile
public static File getFile(String parentDir,
                           String filename)
- 
 
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.