|
||||||||||
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 Date |
offsetDateFromGMT(Date date)
This method converts from GMT to local timezone |
static Date |
parseXsdDateTime(String sDateTime)
For some reason, can't find this utility method in the java framework. |
static void |
writeXmlFile(Document doc,
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 Date parseXsdDateTime(String sDateTime) throws ParseException
sDateTime
- an xsd:dateTime string
ParseException
public static Date offsetDateFromGMT(Date date)
date
- date in GMT timezone
public static void writeXmlFile(Document doc, 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 |