Xindice API

org.apache.xindice.util
Class FileCache

java.lang.Object
  |
  +--org.apache.xindice.util.FileCache

public class FileCache
extends java.lang.Object

FileCache caches the content of files in memory.


Constructor Summary
FileCache()
           
 
Method Summary
 byte[] getFile(java.io.File file)
           
 byte[] getFile(java.lang.String name)
           
 boolean isInCache(java.io.File file)
           
 boolean isInCache(java.lang.String name)
           
 boolean isModified(java.io.File file)
           
 boolean isModified(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCache

public FileCache()
Method Detail

isInCache

public final boolean isInCache(java.io.File file)

isInCache

public final boolean isInCache(java.lang.String name)

isModified

public final boolean isModified(java.lang.String name)

isModified

public final boolean isModified(java.io.File file)

getFile

public final byte[] getFile(java.lang.String name)

getFile

public final byte[] getFile(java.io.File file)

Xindice API

Copyright (c) 1999-2001 The Apache Software Foundation