use of de.lmu.ifi.dbs.elki.datasource.bundle.BundleReader in project elki by elki-project.
the class BundleDatabaseConnection method loadData.
@Override
public MultipleObjectsBundle loadData() {
try {
FileInputStream fis = new FileInputStream(infile);
FileChannel channel = fis.getChannel();
MultipleObjectsBundle bundle = invokeStreamFilters(new BundleReader(channel)).asMultipleObjectsBundle();
channel.close();
fis.close();
return bundle;
} catch (IOException e) {
throw new AbortException("IO error loading bundle", e);
}
}
Aggregations