uk.ac.gla.terrier.indexing
Class MSExcelDocument
java.lang.Object
uk.ac.gla.terrier.indexing.FileDocument
uk.ac.gla.terrier.indexing.MSExcelDocument
- All Implemented Interfaces:
- Document
public class MSExcelDocument
- extends FileDocument
Implements a Document object for a Microsoft Excel spreadsheet.
Uses HSSF and POIFS subparts of the Jakarta-POI project. This means
that to use or compile this module, you must have the
poi-?.?.?-final-*.jar in your classpath.
A bug in the current stable POI library seems to mean that large
Excel files cannot be parsed - see the MAXFILESIZE field to control
the maximum file size that this class will attempt to read.
- Version:
- $Revision: 1.13 $
- Author:
- Craig Macdonald
Constructor Summary |
MSExcelDocument(java.io.File f,
java.io.InputStream docStream)
Construct a new MSExcelDocument Document object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSExcelDocument
public MSExcelDocument(java.io.File f,
java.io.InputStream docStream)
- Construct a new MSExcelDocument Document object
- Parameters:
f
- the file that is opened for thisdocStream
- the actual stream of the open file
Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow