data.importers
Class ImporterXLS

java.lang.Object
  extended by data.importers.ImporterXLS

public class ImporterXLS
extends java.lang.Object

Importer for .XLS (excel 97-2003) files. It uses the POI library to help reading .XLS file. The format of the source file is detailed in the users manual of the project

Version:
1.0
Author:
Oscar Flores

Nested Class Summary
static class ImporterXLS.MatrixFileFilterXLS
          A kind of FileFilter that accept .XLS filetypes
 
Constructor Summary
ImporterXLS()
           
 
Method Summary
static Matrix importFile(java.io.File f)
          Parses the data and put it in the new Matrix object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImporterXLS

public ImporterXLS()
Method Detail

importFile

public static Matrix importFile(java.io.File f)
                         throws DataException
Parses the data and put it in the new Matrix object

Parameters:
f - The file to be parsed
Returns:
The new Matrix with the imported data
Throws:
DataException