|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mov.quote.QuoteSourceFactory
public class QuoteSourceFactory
Contains static methods for creating File-, Sample- and DatabaseQuoteSources based on the user preference.
FileQuoteSource
,
DatabaseQuoteSource
,
PreferencesManager
Constructor Summary | |
---|---|
QuoteSourceFactory()
|
Method Summary | |
---|---|
static DatabaseQuoteSource |
createDatabaseQuoteSource()
Create a database quote source directly using the user preferences. |
static DatabaseQuoteSource |
createInternalQuoteSource()
Create an internal database quote source. |
static FileQuoteSource |
createSamplesQuoteSource()
Create a file quote source directly using the in-built sample files as the quotes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuoteSourceFactory()
Method Detail |
---|
public static DatabaseQuoteSource createInternalQuoteSource()
public static FileQuoteSource createSamplesQuoteSource()
public static DatabaseQuoteSource createDatabaseQuoteSource()
|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |