org.gcube.indexmanagement.featureindexlibrary.fullscan
Class FullScanReader

java.lang.Object
  extended by org.gcube.indexmanagement.featureindexlibrary.fullscan.FullScanReader

public class FullScanReader
extends Object

A reader of a full scan file

Author:
UoA

Constructor Summary
FullScanReader(String file)
          Creates a new instance
 
Method Summary
 void close()
          Closes the reader
 FullScanParams getCharacteristics()
          Reads the head of the full scan file
 FeatureVectorElement getElement()
          Reads a record element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullScanReader

public FullScanReader(String file)
               throws Exception
Creates a new instance

Parameters:
file - The file
Throws:
Exception - An error
Method Detail

getCharacteristics

public FullScanParams getCharacteristics()
                                  throws Exception
Reads the head of the full scan file

Returns:
The head
Throws:
Exception - An error

getElement

public FeatureVectorElement getElement()
Reads a record element

Returns:
The record

close

public void close()
           throws Exception
Closes the reader

Throws:
Exception - An error


Copyright © 2013. All Rights Reserved.