Package io.milton.http.values
Class ModifiedDateValueWriter
java.lang.Object
io.milton.http.values.ModifiedDateValueWriter
- All Implemented Interfaces:
ValueWriter
Windows explorer is VERY picky about the format of its modified date, which
this class supports
Only applies to the getlastmodified field
- Author:
- brad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionParse the given textual representation, probably from a PROPPATCH requestbooleanDoes this ValueWriter support the data type or property for writing xmlvoidwriteValue(XmlWriter writer, String nsUri, String prefix, String localName, Object val, String href, Map<String, String> nsPrefixes) Write the value out to XML using the given XmlWriter
-
Constructor Details
-
ModifiedDateValueWriter
public ModifiedDateValueWriter()
-
-
Method Details
-
supports
Description copied from interface:ValueWriterDoes this ValueWriter support the data type or property for writing xml- Specified by:
supportsin interfaceValueWriter- Returns:
-
writeValue
public void writeValue(XmlWriter writer, String nsUri, String prefix, String localName, Object val, String href, Map<String, String> nsPrefixes) Description copied from interface:ValueWriterWrite the value out to XML using the given XmlWriter- Specified by:
writeValuein interfaceValueWriter
-
parse
Description copied from interface:ValueWriterParse the given textual representation, probably from a PROPPATCH request- Specified by:
parsein interfaceValueWriter- Returns:
-