|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tika.detect.XmlRootExtractor
public class XmlRootExtractor
Utility class that uses a SAXParser
to determine
the namespace URI and local name of the root element of an XML file.
Constructor Summary | |
---|---|
XmlRootExtractor()
|
Method Summary | |
---|---|
javax.xml.namespace.QName |
extractRootElement(byte[] data)
|
javax.xml.namespace.QName |
extractRootElement(java.io.InputStream stream)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlRootExtractor()
Method Detail |
---|
public javax.xml.namespace.QName extractRootElement(byte[] data)
public javax.xml.namespace.QName extractRootElement(java.io.InputStream stream)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |