org.apache.webdav.lib.properties
Class GetLastModifiedProperty
java.lang.Object
|
+--org.apache.webdav.lib.BaseProperty
|
+--org.apache.webdav.lib.properties.GetLastModifiedProperty
- All Implemented Interfaces:
- Property
- public class GetLastModifiedProperty
- extends BaseProperty
This interface models the <D:getlastmodified>
property,
which indicates the last time the resource was modified. It does not, as
the name might misleadingly imply, have anything to do with getting the most
recently modified property.
- Version:
- $Revision: 1.4 $
- Author:
- BC Holmes
Field Summary |
static java.lang.String |
DATE_FORMAT
The standard date format for the last modified date, as specified in
the HTTP 1.1 specification (RFC 2068). |
protected java.text.DateFormat |
format
|
static java.lang.String |
TAG_NAME
The property name. |
Method Summary |
java.util.Date |
getDate()
Get the date of the last modification. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TAG_NAME
public static final java.lang.String TAG_NAME
- The property name.
DATE_FORMAT
public static final java.lang.String DATE_FORMAT
- The standard date format for the last modified date, as specified in
the HTTP 1.1 specification (RFC 2068).
format
protected java.text.DateFormat format
GetLastModifiedProperty
public GetLastModifiedProperty(ResponseEntity response,
org.w3c.dom.Element element)
- Default constructor for the property.
getDate
public java.util.Date getDate()
- Get the date of the last modification.