com.exponto.jstock.indicators
Class IndicatorMaster

java.lang.Object
  extended bycom.exponto.jstock.indicators.IndicatorMaster

public class IndicatorMaster
extends java.lang.Object

This class registeres all available indicators and loads them upon request. Currently the indicators have to be manually added. It's no big deal to read them from someplace else. This is a pure "static" class, no instance of it exists, never ever (at least for now).

Author:
kaare

Constructor Summary
IndicatorMaster()
           
 
Method Summary
static Indicator getIndicator(java.lang.String indicatorName)
          Creates and returns an empty indicator of the type given by the indicatorName.
static java.lang.String[] getIndicatorsList()
          Query for a list of all supported indicators.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndicatorMaster

public IndicatorMaster()
Method Detail

getIndicatorsList

public static java.lang.String[] getIndicatorsList()
Query for a list of all supported indicators. The names returned shall have "display-to-end-user quality".

Returns:
a list of all known indicators

getIndicator

public static Indicator getIndicator(java.lang.String indicatorName)
Creates and returns an empty indicator of the type given by the indicatorName. The indicator needs to be initiated before it is used

Parameters:
indicatorName -
Returns:
The created indicator


Copyright © 2004 Kaare Ranum