Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.content.loader.bulk
Class FileCache

    java.lang.Object
      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.

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

### FileCache

    public FileCache()

Method Detail

### 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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2009, 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.