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

## com.bea.p13n.content.document.ref.loader
Class FileCache

    java.lang.Object
      |
      +--com.bea.p13n.content.document.ref.loader.FileCache

public class FileCache
extends java.lang.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 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

### FileCache

    public FileCache()

Method Detail

### getFile

    public static java.io.File getFile(java.lang.String path)

  Get the file object for the given path.

### getFile

    public static java.io.File getFile(java.io.File dir,
                                       java.lang.String path)

  Get the file object for the given directory and path.

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

Copyright © 2002 BEA Systems, Inc. All Rights Reserved