Package com.google.refine.importers
Class ExcelImporter
java.lang.Object
com.google.refine.importers.ImportingParserBase
com.google.refine.importers.TabularImportingParserBase
com.google.refine.importers.ExcelImporter
- All Implemented Interfaces:
ImportingParser
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.refine.importers.TabularImportingParserBase
TabularImportingParserBase.TableDataReader -
Field Summary
Fields inherited from class com.google.refine.importers.ImportingParserBase
useInputStream -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNodecreateParserUIInitializationData(ImportingJob job, List<com.fasterxml.jackson.databind.node.ObjectNode> fileRecords, String format) Create data sufficient for the parser UI on the client side to do its work.protected static CellextractCell(org.apache.poi.ss.usermodel.Cell cell) voidparseOneFile(Project project, ProjectMetadata metadata, ImportingJob job, String fileSource, InputStream inputStream, int limit, com.fasterxml.jackson.databind.node.ObjectNode options, List<Exception> exceptions) Methods inherited from class com.google.refine.importers.TabularImportingParserBase
readTable, readTableMethods inherited from class com.google.refine.importers.ImportingParserBase
addArchiveColumn, addFilenameColumn, parse, parseOneFile, parseOneFile
-
Constructor Details
-
ExcelImporter
public ExcelImporter()
-
-
Method Details
-
createParserUIInitializationData
public com.fasterxml.jackson.databind.node.ObjectNode createParserUIInitializationData(ImportingJob job, List<com.fasterxml.jackson.databind.node.ObjectNode> fileRecords, String format) Description copied from interface:ImportingParserCreate data sufficient for the parser UI on the client side to do its work. For example, an XML parser UI would need to know some sample elements so it can let the user pick which the path to the record elements.- Specified by:
createParserUIInitializationDatain interfaceImportingParser- Overrides:
createParserUIInitializationDatain classTabularImportingParserBase- Returns:
- ObjectNode options
-
parseOneFile
public void parseOneFile(Project project, ProjectMetadata metadata, ImportingJob job, String fileSource, InputStream inputStream, int limit, com.fasterxml.jackson.databind.node.ObjectNode options, List<Exception> exceptions) - Overrides:
parseOneFilein classImportingParserBase
-
extractCell
-