public class ContentTagParser extends Object
| Constructor and Description |
|---|
ContentTagParser() |
| Modifier and Type | Method and Description |
|---|---|
static ContentTags |
parseHTML(String html,
Set<String> uppercaseTagsOfInterest) |
static ContentTags |
parseXML(String html,
Set<String> uppercaseTagsOfInterest) |
public static ContentTags parseXML(String html, Set<String> uppercaseTagsOfInterest) throws TikaException, IOException, SAXException
TikaExceptionIOExceptionSAXExceptionpublic static ContentTags parseHTML(String html, Set<String> uppercaseTagsOfInterest) throws SAXException, IOException
SAXExceptionIOExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.