org.abstracthorizon.danube.webdav.xml.dav.response.properties
Class GetLastModified
java.lang.Object
org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty
org.abstracthorizon.danube.webdav.xml.dav.response.properties.GetLastModified
- All Implemented Interfaces:
- XMLRenderer
public class GetLastModified
- extends ResponseProperty
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty |
status |
TAG_NAME
public static final String TAG_NAME
- See Also:
- Constant Field Values
modified
protected long modified
cachedDate
protected String cachedDate
GetLastModified
public GetLastModified(Status status)
- Constructor
- Parameters:
status
- status
GetLastModified
public GetLastModified(long modified)
- Constructor
- Parameters:
modified
- modified timestamp
getLastModified
public long getLastModified()
- Returns last modified timestamp
- Returns:
- last modified timestamp
asString
public String asString()
- Returns last modified as a formatted string. Format used is
HTTPServerConnectionHandler.DATE_FORMAT
- Returns:
- last modified as a formatted string
toString
public String toString()
- Overrides:
toString
in class Object
render
public void render(PrintWriter writer,
NamespacesProvider provider)
- Renders the tag
- Parameters:
writer
- writerprovider
- namespace provider
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.