org.gcube.indexmanagement.featureindexlibrary.vafile.io
Class ApproximationFileReader

java.lang.Object
  extended by org.gcube.indexmanagement.featureindexlibrary.vafile.io.ApproximationFileReader

public class ApproximationFileReader
extends Object

Approximation reader

Author:
UoA

Constructor Summary
ApproximationFileReader(VAFileParams params)
          Creates a new Instance
 
Method Summary
 void close()
          Closes
 ApproximationFileEntryInfo getNext()
          Reads entry
 void open()
          Opens for reading
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApproximationFileReader

public ApproximationFileReader(VAFileParams params)
                        throws Exception
Creates a new Instance

Parameters:
params - The VAFile header params
Throws:
Exception - An error
Method Detail

open

public void open()
          throws Exception
Opens for reading

Throws:
Exception - An error

getNext

public ApproximationFileEntryInfo getNext()
Reads entry

Returns:
The entry

close

public void close()
           throws Exception
Closes

Throws:
Exception - An error


Copyright © 2013. All Rights Reserved.