Xindice API
version 1.1b3

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.

Version:
CVS $Revision: 1.6 $, $Date: 2003/08/15 03:10:06 $

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
clone, equals, finalize, 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)
                     throws java.io.IOException

getFile

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

Xindice API
version 1.1b3

Copyright (c) 1999-2003 The Apache Software Foundation. All Rights Reserved.