Files
Brainstorm/Foundation Web Interfaces/src/com/foundation/web/interfaces/ICachedResource.java

21 lines
546 B
Java
Raw Normal View History

2014-05-30 10:31:51 -07:00
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//