net.sourceforge.pavlov.main.standalone
Class ResourceBroker
java.lang.Object
net.sourceforge.pavlov.main.standalone.ResourceBroker
public class ResourceBroker
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SKINS_DEFAULT_DIR
public static final String SKINS_DEFAULT_DIR
- See Also:
- Constant Field Values
THEMES_DEFAULT_DIR
public static final String THEMES_DEFAULT_DIR
- See Also:
- Constant Field Values
ABOUT_IMAGE
public static final String ABOUT_IMAGE
- See Also:
- Constant Field Values
INCORRECT_TITLE
public static final String INCORRECT_TITLE
- See Also:
- Constant Field Values
SKINS_ERROR_DEFAULT
public static final String SKINS_ERROR_DEFAULT
- See Also:
- Constant Field Values
QUIT
public static final String QUIT
- See Also:
- Constant Field Values
LIBRARY_ERROR
public static final String LIBRARY_ERROR
- See Also:
- Constant Field Values
USER_NULL
public static final String USER_NULL
- See Also:
- Constant Field Values
QUIZVIEW_ERROR_CREATE
public static final String QUIZVIEW_ERROR_CREATE
- See Also:
- Constant Field Values
LOGIN_ERROR
public static final String LOGIN_ERROR
- See Also:
- Constant Field Values
HARDCOPY_ERROR
public static final String HARDCOPY_ERROR
- See Also:
- Constant Field Values
HELPSET_URL
public static final String HELPSET_URL
- See Also:
- Constant Field Values
BOOK_NULL
public static final String BOOK_NULL
- See Also:
- Constant Field Values
CHAPTER_NULL
public static final String CHAPTER_NULL
- See Also:
- Constant Field Values
LIBRARY_NULL
public static final String LIBRARY_NULL
- See Also:
- Constant Field Values
LIBRARY_DIR
public static final String LIBRARY_DIR
- See Also:
- Constant Field Values
STATUS_LOADING_PLUGLETS
public static final String STATUS_LOADING_PLUGLETS
- See Also:
- Constant Field Values
STATUS_LOADING_LIBRARY
public static final String STATUS_LOADING_LIBRARY
- See Also:
- Constant Field Values
STATUS_LOGGING_IN
public static final String STATUS_LOGGING_IN
- See Also:
- Constant Field Values
STATUS_VALIDATING_STATISTICS
public static final String STATUS_VALIDATING_STATISTICS
- See Also:
- Constant Field Values
STATUS_CONFIGURING_THEMES
public static final String STATUS_CONFIGURING_THEMES
- See Also:
- Constant Field Values
STATUS_CONFIGURING_UI
public static final String STATUS_CONFIGURING_UI
- See Also:
- Constant Field Values
STATUS_CREATING_LIBRARY_VIEW
public static final String STATUS_CREATING_LIBRARY_VIEW
- See Also:
- Constant Field Values
STATUS_CLOSING_SPLASH_SCREEN
public static final String STATUS_CLOSING_SPLASH_SCREEN
- See Also:
- Constant Field Values
USER_SAVING_ERROR
public static final String USER_SAVING_ERROR
- See Also:
- Constant Field Values
FEEDBACK_PLUGLET_DIRECTORY
public static final String FEEDBACK_PLUGLET_DIRECTORY
- See Also:
- Constant Field Values
VELOCITY_PLUGLET_DIRECTORY
public static final String VELOCITY_PLUGLET_DIRECTORY
- See Also:
- Constant Field Values
STRATEGY_PLUGLET_DIRECTORY
public static final String STRATEGY_PLUGLET_DIRECTORY
- See Also:
- Constant Field Values
TOOL_PLUGLET_DIRECTORY
public static final String TOOL_PLUGLET_DIRECTORY
- See Also:
- Constant Field Values
TITLE
public static final String TITLE
- See Also:
- Constant Field Values
CORRECT
public static final String CORRECT
- See Also:
- Constant Field Values
INCORRECT
public static final String INCORRECT
- See Also:
- Constant Field Values
PAVLOV_CORRECT
public static final String PAVLOV_CORRECT
- See Also:
- Constant Field Values
PAVLOV_INCORRECT
public static final String PAVLOV_INCORRECT
- See Also:
- Constant Field Values
PAVLOV_QUESTIONS
public static final String PAVLOV_QUESTIONS
- See Also:
- Constant Field Values
PAVLOV_ANSWERS
public static final String PAVLOV_ANSWERS
- See Also:
- Constant Field Values
PAVLOV_QUIZ
public static final String PAVLOV_QUIZ
- See Also:
- Constant Field Values
PAVLOV_QUIZZES
public static final String PAVLOV_QUIZZES
- See Also:
- Constant Field Values
PAVLOV_SCORE
public static final String PAVLOV_SCORE
- See Also:
- Constant Field Values
PAVLOV_LOGIN
public static final String PAVLOV_LOGIN
- See Also:
- Constant Field Values
getInstance
public static ResourceBroker getInstance()
getString
public String getString(String key)
getString
public String getString(String key,
String def)
- Returns the named resource value or the given default, if the
resource value is unavailable.
- Parameters:
key
- a String
valuedef
- a String
value
- Returns:
- a
String
value
getFile
public File getFile(String key)
getURL
public URL getURL(String key)
throws MalformedURLException
- Throws:
MalformedURLException