com.artenum.forceria.template
Class StringTemplateUtil
java.lang.Object
com.artenum.forceria.template.StringTemplateUtil
public final class StringTemplateUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readXml
public static Document readXml(InputStream is)
throws IOException,
ParserConfigurationException,
SAXException
- Read XML as DOM.
- Throws:
SAXException
IOException
ParserConfigurationException
readTextFile
public static String readTextFile(File file)
throws IOException
- read a file into a string
- Parameters:
fullPathFilename
-
- Returns:
-
- Throws:
IOException
Copyright © 2010-2013 Artenum. All Rights Reserved.