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.vfs.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.vfs.FileObject file) throws KettleException
file
- The file to checkKettleException
public static final boolean isXMLWellFormed(InputStream is) throws KettleException
is
- inputstreamKettleException