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//