public class DavEntry extends Object implements Serializable
FileEntry
Uses
https://github.com/lookfirst/sardineModifier and Type | Field and Description |
---|---|
static String |
FORSLASH |
static String |
HTTP |
Modifier and Type | Method and Description |
---|---|
String |
getETag() |
File |
getFile(com.github.sardine.Sardine sardine)
Return a local cache of the file being monitored.
|
long |
getLastModified()
Return the last modified time from the last time it was checked.
|
long |
getLength()
Return the length.
|
String |
getLocation()
Return the file location.
|
DavEntry |
getParent()
Return the parent entry.
|
boolean |
isDirectory()
Indicate whether the file is a directory or not.
|
boolean |
isExists()
Indicate whether the file existed the last time it was checked.
|
void |
setDirectory(boolean directory)
Set whether the file is a directory or not.
|
void |
setExists(boolean exists)
Set whether the file existed the last time it was checked.
|
void |
setLastModified(long lastModified)
Return the last modified time from the last time it was checked.
|
void |
setLength(long length)
Set the length.
|
void |
setLocation(String location)
Set the file location.
|
public static final String HTTP
public static final String FORSLASH
public DavEntry getParent()
public File getFile(com.github.sardine.Sardine sardine) throws IOException
sardine
- IOException
public String getLocation()
public void setLocation(String location)
location
- the file locationpublic long getLastModified()
public void setLastModified(long lastModified)
lastModified
- The last modified timepublic long getLength()
public void setLength(long length)
length
- the lengthpublic boolean isExists()
public void setExists(boolean exists)
exists
- whether the file exists or notpublic boolean isDirectory()
public void setDirectory(boolean directory)
directory
- whether the file is a directory or notpublic String getETag()
This work is licensed under a Creative Commons Attribution 4.0 International License.