Venice 0.751beta

nz.org.venice.quote
Interface IFileEODQuoteImport

All Known Implementing Classes:
FileEODQuoteImport, MetastockBinaryEODImport

public interface IFileEODQuoteImport


Method Summary
 void close()
          Close the file being imported.
 java.util.List importNext()
          Import the next bundle quotes from the file.
 boolean isNext()
          Return whether there are any more quotes in the file.
 boolean open(java.io.File file)
          Open the given file to import.
 

Method Detail

open

public boolean open(java.io.File file)
Open the given file to import.

Parameters:
file - the file to import
Returns:
TRUE if the file was successfully opened;\ FALSE otherwise.

importNext

public java.util.List importNext()
Import the next bundle quotes from the file.

Returns:
list of quotes

isNext

public boolean isNext()
Return whether there are any more quotes in the file.

Returns:
TRUE if there are more quotes to import; FALSE otherwise.

close

public void close()
Close the file being imported.


Venice 0.751beta