data.importers
Class ImporterIMAT

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

public class ImporterIMAT
extends java.lang.Object

Handler for .IMAT (this program) files.

Version:
1.0
Author:
Oscar Flores

Nested Class Summary
static class ImporterIMAT.MatrixFileFilterIMAT
          A kind of FileFilter that accept .IMAT filetypes
 
Constructor Summary
ImporterIMAT()
           
 
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

ImporterIMAT

public ImporterIMAT()
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