org.aksw.commons.util
Class XmlUtils
java.lang.Object
org.aksw.commons.util.XmlUtils
public class XmlUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlUtils
public XmlUtils()
toString
public static String toString(Node node)
createFromString
public static Document createFromString(String text)
throws Exception
- Throws:
Exception
toText
public static void toText(Node node,
OutputStream out)
throws TransformerFactoryConfigurationError,
TransformerException
- Throws:
TransformerFactoryConfigurationError
TransformerException
openFile
public static Document openFile(File file)
throws Exception
- Throws:
Exception
openUrl
public static Document openUrl(String location)
throws Exception
- Throws:
Exception
loadFromStream
public static Document loadFromStream(InputStream inputStream)
throws Exception
- Throws:
Exception
getPageModificationDate
public static String getPageModificationDate(Document node)
Copyright © 2012. All Rights Reserved.