Venice 0.7beta

org.mov.quote
Class EODQuoteFilterList

java.lang.Object
  extended by org.mov.quote.EODQuoteFilterList

public class EODQuoteFilterList
extends java.lang.Object

Provides a list of quote filters available to us. This class is used as a single point of reference to find and use all of the available quote filters. Example:

 EODQuoteFilter filter = 
        EODQuoteFilterList.getInstance().getFilter("Insight Trader");
 EODQuote quote = filter.filter("XXX 07/15/99 173 182 171 181 36489");
 
OR
 List filters = EODQuoteFilterList.getInstance().getList();
 


Method Summary
 EODQuoteFilter getFilter(java.lang.String filterName)
          Return instance of filter given its name.
static EODQuoteFilterList getInstance()
          Get the singleton instance of this class.
 java.util.List getList()
          Get a vector of available filter classes.
 boolean isFilter(java.lang.String filterName)
          Is the given filter name a valid filter?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFilter

public EODQuoteFilter getFilter(java.lang.String filterName)
Return instance of filter given its name.

Parameters:
filterName - the registered name of the filter.
Returns:
instance of the filter.

getInstance

public static EODQuoteFilterList getInstance()
Get the singleton instance of this class.

Returns:
the singleton instance.

getList

public java.util.List getList()
Get a vector of available filter classes.

Returns:
list of classes implementing EODQuoteFilter.

isFilter

public boolean isFilter(java.lang.String filterName)
Is the given filter name a valid filter?

Parameters:
filterName - the name of the possible filter.
Returns:
true if the name is a valid filter.

Venice 0.7beta