Venice 0.751beta

nz.org.venice.alert
Class FileAlertReader

java.lang.Object
  extended bynz.org.venice.alert.FileAlertReader
All Implemented Interfaces:
AlertReader

public class FileAlertReader
extends java.lang.Object
implements AlertReader

Retrieve alerts stored in the local filesystem.

Author:
Mark Hummel
See Also:
AlertReader

Constructor Summary
FileAlertReader()
           
 
Method Summary
 java.util.List getAlerts()
          Get all alerts currently stored for the symbol.
 java.util.List getAlertsBySymbol(Symbol symbol)
          Get all alerts currently stored for the symbol.
 java.util.List getAlertsBySymbolList(java.util.List symbols)
          Get all alerts currently stored for the symbol.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileAlertReader

public FileAlertReader()
Method Detail

getAlerts

public java.util.List getAlerts()
                         throws AlertException
Get all alerts currently stored for the symbol.

Specified by:
getAlerts in interface AlertReader
Returns:
A list of all the alerts for this symbol.
Throws:
AlertException

getAlertsBySymbol

public java.util.List getAlertsBySymbol(Symbol symbol)
Get all alerts currently stored for the symbol.

Specified by:
getAlertsBySymbol in interface AlertReader
Parameters:
symbol - The symbol to filter the alerts on.
Returns:
A list of all the alerts for this symbol.

getAlertsBySymbolList

public java.util.List getAlertsBySymbolList(java.util.List symbols)
Get all alerts currently stored for the symbol.

Specified by:
getAlertsBySymbolList in interface AlertReader
Parameters:
symbols - The symbol list to filter the alerts on.
Returns:
A list of all the alerts for this symbol.

Venice 0.751beta