org.apache.xindice.util
Class FileCache
java.lang.Object
org.apache.xindice.util.FileCache
- public class FileCache
- extends Object
FileCache caches the content of files in memory.
- Version:
- $Revision: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 2007) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileCache
public FileCache()
isInCache
public final boolean isInCache(File file)
isInCache
public final boolean isInCache(String name)
isModified
public final boolean isModified(String name)
isModified
public final boolean isModified(File file)
getFile
public final byte[] getFile(String name)
throws IOException
- Throws:
IOException
getFile
public final byte[] getFile(File file)
throws IOException
- Throws:
IOException
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.