Package org.apache.tika.parser.isatab
Class ISArchiveParser
java.lang.Object
org.apache.tika.parser.isatab.ISArchiveParser
- All Implemented Interfaces:
Serializable,org.apache.tika.parser.Parser
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ISArchiveParser(String location) Constructor that accepts the pathname of ISArchive folder. -
Method Summary
Modifier and TypeMethodDescriptionSet<org.apache.tika.mime.MediaType>getSupportedTypes(org.apache.tika.parser.ParseContext context) voidparse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context)
-
Constructor Details
-
ISArchiveParser
public ISArchiveParser()Default constructor. -
ISArchiveParser
Constructor that accepts the pathname of ISArchive folder.- Parameters:
location- pathname of ISArchive folder including ISA-Tab files
-
-
Method Details
-
getSupportedTypes
public Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context) - Specified by:
getSupportedTypesin interfaceorg.apache.tika.parser.Parser
-
parse
public void parse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context) throws IOException, SAXException, org.apache.tika.exception.TikaException - Specified by:
parsein interfaceorg.apache.tika.parser.Parser- Throws:
IOExceptionSAXExceptionorg.apache.tika.exception.TikaException
-