Class GridDataFile.DataFile

java.lang.Object
  extended by GridDataFile.DataFile
Enclosing class:
GridDataFile

public class GridDataFile.DataFile
extends java.lang.Object


Constructor Summary
GridDataFile.DataFile()
          Constructs a data file structure.
 
Method Summary
 void close()
          Frees memory used by data.
 float[][][][] getData()
          Returns data set.
 boolean open(java.io.File file)
          Opens a data file.
 boolean reopen()
          Reopens a previous specified file.
 void set(java.io.File file)
          Sets a filename for later reading.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridDataFile.DataFile

public GridDataFile.DataFile()
Constructs a data file structure.

Method Detail

open

public boolean open(java.io.File file)
Opens a data file.

Parameters:
file - File to be read from.
Returns:
true on successfull reading.

close

public void close()
Frees memory used by data.


set

public void set(java.io.File file)
Sets a filename for later reading.

Parameters:
file - File used for reading.

reopen

public boolean reopen()
Reopens a previous specified file.

Returns:
true on success.

getData

public float[][][][] getData()
Returns data set.

Returns:
Data set.