public class XMLCheck extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
XMLCheck.XMLTreeHandler |
| Constructor and Description |
|---|
XMLCheck() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isXMLFileWellFormed(org.apache.commons.vfs2.FileObject file)
Checks an xml file is well formed.
|
static boolean |
isXMLWellFormed(InputStream is)
Checks an xml string is well formed.
|
public static final boolean isXMLFileWellFormed(org.apache.commons.vfs2.FileObject file)
throws KettleException
file - The file to checkKettleExceptionpublic static final boolean isXMLWellFormed(InputStream is) throws KettleException
is - inputstreamKettleException