java.lang.Objectorg.objectweb.telosys.util.XmlUtil
Method Summary | |
static org.w3c.dom.Document |
loadFile(java.lang.String sFileName)
Deprecated. |
static org.w3c.dom.Document |
parse(java.io.File file)
Parse the given File object |
static org.w3c.dom.Document |
parse(java.io.InputStream is)
Parse the given InputStream |
static org.w3c.dom.Document |
parse(java.lang.String sFileName)
Parse the given File name |
static java.lang.String |
xmlBool(boolean b)
|
static java.lang.String |
xmlDate(java.util.Date date)
|
static java.lang.String |
xmlString(java.lang.String sStdString)
Convert "Standard String" to "Xml String" |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String xmlString(java.lang.String sStdString)
sStdString
- :
public static java.lang.String xmlDate(java.util.Date date)
public static java.lang.String xmlBool(boolean b)
public static org.w3c.dom.Document loadFile(java.lang.String sFileName)
sFileName
- : the XML file to load
public static org.w3c.dom.Document parse(java.lang.String sFileName) throws TelosysException
sFileName
-
TelosysException
public static org.w3c.dom.Document parse(java.io.File file) throws TelosysException
file
-
TelosysException
public static org.w3c.dom.Document parse(java.io.InputStream is) throws TelosysException
is
-
TelosysException