public class DatasetReader extends Object
Constructor and Description |
---|
DatasetReader(String filename) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the reading buffer
|
boolean |
hasNext()
Checks whether there is at least another example to read
|
Example |
readNextExample()
Returns the next example
|
void |
restartReading()
Resets the reading such that the next example will be the first one
|
public DatasetReader(String filename) throws IOException
IOException
public void restartReading() throws IOException
IOException
public boolean hasNext()
public Example readNextExample() throws IOException, InstantiationException
IOException
InstantiationException
public void close() throws IOException
IOException
Copyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.