public abstract class IODataset extends Dataset
| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
source
Source of the data
|
| Constructor and Description |
|---|
IODataset()
Empty constructor - used for (de)serialization.
|
IODataset(java.io.File dataSource,
int width,
int height)
Creates a new Dataset from the specified file.
|
IODataset(java.lang.String dataFileName,
int width,
int height)
Creates a new Dataset from the specified file.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
read()
By default IODatasets are lazy readers and won't read the contents of the file until directed.
|
public IODataset(java.io.File dataSource,
int width,
int height)
throws java.io.IOException
dataSource - file to readwidth - width of the dataheight - height of the datajava.io.IOException - if an I/O error occurspublic IODataset(java.lang.String dataFileName,
int width,
int height)
throws java.io.IOException
dataFileName - file to readwidth - width of the dataheight - height of the datajava.io.IOException - if an I/O error occurspublic IODataset()