Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
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.

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(File dir,
                               String path)

  Get the file object for the given directory and path.

### getFile

    public static File getFile(String path)

  Get the file object for the given path.

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved