Package org.pentaho.di.core.xml
Class XMLCheck
java.lang.Object
org.pentaho.di.core.xml.XMLCheck
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final boolean
isXMLFileWellFormed
(org.apache.commons.vfs2.FileObject file) Checks an xml file is well formed.static boolean
Checks an xml string is well formed.
-
Constructor Details
-
XMLCheck
public XMLCheck()
-
-
Method Details
-
isXMLFileWellFormed
public static final boolean isXMLFileWellFormed(org.apache.commons.vfs2.FileObject file) throws KettleException Checks an xml file is well formed.- Parameters:
file
- The file to check- Returns:
- true if the file is well formed.
- Throws:
KettleException
-
isXMLWellFormed
Checks an xml string is well formed.- Parameters:
is
- inputstream- Returns:
- true if the xml is well formed.
- Throws:
KettleException
-