|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a DiskCacheEntry.
Method Summary | |
java.lang.String |
getData()
Get the contents/data of this URL |
long |
getExpirationTime()
Get the expiration time of this DiskCacheEntry |
java.io.File |
getFile()
Deprecated. |
java.io.InputStream |
getInputStream()
Get an InputStream for this Entry. |
long |
getLastModified()
Get the lastModified date of this DiskCacheEntry |
java.io.Reader |
getReader()
Get a Reader for this Entry. |
java.lang.String |
getSourceURL()
Get the original URL this came from |
java.lang.String |
getURL()
Get the URL that was cached. |
java.io.Writer |
getWriter()
Get a Writer to update this Entry. |
boolean |
hasExpired()
Test if the entry is expired |
boolean |
isLocal()
Test if the entry is a Local (fake) disk cache entry |
void |
setExpirationTime(long time)
Set the expiration time of this DiskCacheEntry |
void |
setLastModified(long time)
Set the lastModified date of this DiskCacheEntry |
Method Detail |
public java.lang.String getURL()
public java.lang.String getSourceURL()
public java.io.File getFile()
public java.lang.String getData() throws java.io.IOException
java.io.IOException
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public java.io.Reader getReader() throws java.io.IOException
java.io.IOException
public java.io.Writer getWriter() throws java.io.IOException
java.io.IOException
public long getLastModified()
public void setLastModified(long time)
public long getExpirationTime()
public void setExpirationTime(long time)
public boolean hasExpired()
public boolean isLocal()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |