org.apache.any23.plugin.officescraper
Class ExcelExtractor
java.lang.Object
org.apache.any23.plugin.officescraper.ExcelExtractor
- All Implemented Interfaces:
- Extractor<InputStream>, Extractor.ContentExtractor
public class ExcelExtractor
- extends Object
- implements Extractor.ContentExtractor
Implementation of ContentExtractor
able to process
a MS Excel 97-2007+ file format .xls/.xlsx and
convert the detected content to triples.
This extractor is based on
Apache POI-HSSF and POI-XSSF Java API.
- Author:
- Michele Mostarda (mostarda@fbk.eu)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
public static final ExtractorFactory<ExcelExtractor> factory
ExcelExtractor
public ExcelExtractor()
isStopAtFirstError
public boolean isStopAtFirstError()
setStopAtFirstError
public void setStopAtFirstError(boolean f)
- Specified by:
setStopAtFirstError
in interface Extractor.ContentExtractor
getDescription
public ExtractorDescription getDescription()
- Specified by:
getDescription
in interface Extractor<InputStream>
run
public void run(ExtractionParameters extractionParameters,
ExtractionContext context,
InputStream in,
ExtractionResult er)
throws IOException,
ExtractionException
- Specified by:
run
in interface Extractor<InputStream>
- Throws:
IOException
ExtractionException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.