Package org.apache.tika.detect
Class XmlRootExtractor
java.lang.Object
org.apache.tika.detect.XmlRootExtractor
Utility class that uses a
SAXParser
to determine
the namespace URI and local name of the root element of an XML file.- Since:
- Apache Tika 0.4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionextractRootElement
(byte[] data) extractRootElement
(InputStream stream)
-
Constructor Details
-
XmlRootExtractor
public XmlRootExtractor()
-
-
Method Details
-
extractRootElement
-
extractRootElement
- Since:
- Apache Tika 0.9
-