|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty org.abstracthorizon.danube.webdav.xml.dav.response.properties.CreationDate
public class CreationDate
This class models WebDAV's creationdate response tag.
Field Summary | |
---|---|
protected String |
cachedDate
Cached formatted date |
static SimpleDateFormat |
DATE_FORMAT
Date format or "yyy-MM-dd'T'HH:mm:ssZ"" |
protected String |
dateString
Date string |
protected long |
modified
Modified timestamp |
static String |
TAG_NAME
Tag name |
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty |
---|
status |
Constructor Summary | |
---|---|
CreationDate(long modified)
Constructor |
|
CreationDate(Status status)
Constructor |
Method Summary | |
---|---|
String |
asString()
Returns formatted timestamp |
long |
getLastModified()
Returns timestamp |
void |
render(PrintWriter writer,
NamespacesProvider provider)
Renders the tag |
String |
toString()
|
Methods inherited from class org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty |
---|
getStatus |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SimpleDateFormat DATE_FORMAT
protected long modified
protected String cachedDate
public static final String TAG_NAME
protected String dateString
Constructor Detail |
---|
public CreationDate(Status status)
status
- statuspublic CreationDate(long modified)
modified
- timestampMethod Detail |
---|
public long getLastModified()
public String asString()
public String toString()
toString
in class Object
public void render(PrintWriter writer, NamespacesProvider provider)
writer
- writerprovider
- namespace provider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |