Initial commit from SVN.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.foundation.web.interfaces;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
public interface ICachedResource {
|
||||
/**
|
||||
* Gets the file associated with the cache.
|
||||
* @return The file from which the cache was created.
|
||||
*/
|
||||
public File getFile();
|
||||
/**
|
||||
* Gets the cache.
|
||||
* @return The resource data that is being cached.
|
||||
*/
|
||||
public byte[] getContents();
|
||||
/**
|
||||
* Gets the timestamp for the last modification to the file.
|
||||
* @return The file's last modification timestamp at the time the file contents were cached.
|
||||
*/
|
||||
public long getLastModified();
|
||||
}//ICachedResource//
|
||||
Reference in New Issue
Block a user