org.w3c.jwput
Interface ETagsDatabase
- All Known Implementing Classes:
- ETagManager
- public interface ETagsDatabase
The ETagsDatabase Interface provides a way to store ETags
Method Summary |
java.lang.String |
getETag(java.io.File file,
java.lang.String url)
Get the ETag relative to the given file which was puted at the given
url. |
void |
removeETag(java.io.File file,
java.lang.String url)
Remove the ETag from the database |
void |
saveETag(java.io.File file,
java.lang.String url,
java.lang.String etag)
Save the ETag into the database |
getETag
public java.lang.String getETag(java.io.File file,
java.lang.String url)
- Get the ETag relative to the given file which was puted at the given
url.
- Parameters:
file
- the local fileurl
- its url- Returns:
- a String instance
saveETag
public void saveETag(java.io.File file,
java.lang.String url,
java.lang.String etag)
- Save the ETag into the database
- Parameters:
file
- the local fileurl
- its urletag
- the ETag
removeETag
public void removeETag(java.io.File file,
java.lang.String url)
- Remove the ETag from the database
- Parameters:
file
- the local fileurl
- its url