|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.statsvn.util.XMLUtil
public final class XMLUtil
Utilities class to faciliate XML management.
| Method Summary | |
|---|---|
static java.util.Date |
offsetDateFromGMT(java.util.Date date)
This method converts from GMT to local timezone |
static java.util.Date |
parseXsdDateTime(java.lang.String sDateTime)
For some reason, can't find this utility method in the java framework. |
static void |
writeXmlFile(org.w3c.dom.Document doc,
java.lang.String filename)
This method writes a DOM document to a file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.Date parseXsdDateTime(java.lang.String sDateTime)
throws java.text.ParseException
sDateTime - an xsd:dateTime string
java.text.ParseExceptionpublic static java.util.Date offsetDateFromGMT(java.util.Date date)
date - date in GMT timezone
public static void writeXmlFile(org.w3c.dom.Document doc,
java.lang.String filename)
doc - DOM document.filename - the target file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||