public final class XmlUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Document |
parse(File file)
Parse the given File object
|
static Document |
parse(InputStream is)
Parse the given InputStream
|
static Document |
parse(String sFileName)
Parse the given File name
|
static String |
xmlBool(boolean b)
Returns the given boolean as a Telosys XML boolean value
|
static String |
xmlDate(Date date)
Returns the given date as a Telosys XML date value ( in ISO format )
|
static String |
xmlString(String sStdString)
Converts a "Standard String" to an "Xml String"
|
public static String xmlString(String sStdString)
sStdString - :public static String xmlDate(Date date)
date - public static String xmlBool(boolean b)
b - public static Document parse(String sFileName) throws Exception
sFileName - Exceptionpublic static Document parse(File file) throws Exception
file - Exceptionpublic static Document parse(InputStream is) throws Exception
is - ExceptionCopyright © 2016. All rights reserved.