© 2005 BEA Systems, Inc.

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

java.lang.Object
  extended bycom.bea.p13n.content.document.ref.loader.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()
          Deprecated.  
 
Method Summary
static File getFile(File dir, String path)
          Deprecated. Get the file object for the given directory and path.
static File getFile(String path)
          Deprecated. 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()
Deprecated. 
Method Detail

getFile

public static File getFile(File dir,
                           String path)
Deprecated. 
Get the file object for the given directory and path.


getFile

public static File getFile(String path)
Deprecated. 
Get the file object for the given path.


© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved