Class Preferences
java.lang.Object
org.codehaus.groovy.tools.shell.util.Preferences
public class Preferences extends Object
Container for shell preferences.
-
Field Summary
Fields Modifier and Type Field Description static String
EDITOR_KEY
static String
PARSER_FLAVOR_KEY
static String
PARSER_RELAXED
static String
PARSER_RIGID
static String
SANITIZE_STACK_TRACE_KEY
static String
SHOW_LAST_RESULT_KEY
static IO.Verbosity
verbosity
static String
VERBOSITY_KEY
-
Constructor Summary
Constructors Constructor Description Preferences()
-
Method Summary
Modifier and Type Method Description static void
addChangeListener(PreferenceChangeListener listener)
static void
clear()
static String
get(String name)
static String
get(String name, String defaultValue)
static String
getEditor()
static String
getParserFlavor()
static boolean
getSanitizeStackTrace()
static boolean
getShowLastResult()
static String[]
keys()
static void
put(String name, String value)
-
Field Details
-
verbosity
-
VERBOSITY_KEY
- See Also:
- Constant Field Values
-
SHOW_LAST_RESULT_KEY
- See Also:
- Constant Field Values
-
SANITIZE_STACK_TRACE_KEY
- See Also:
- Constant Field Values
-
EDITOR_KEY
- See Also:
- Constant Field Values
-
PARSER_FLAVOR_KEY
- See Also:
- Constant Field Values
-
PARSER_RIGID
- See Also:
- Constant Field Values
-
PARSER_RELAXED
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Preferences
public Preferences()
-
-
Method Details
-
getShowLastResult
public static boolean getShowLastResult() -
getSanitizeStackTrace
public static boolean getSanitizeStackTrace() -
getEditor
-
getParserFlavor
-
keys
- Throws:
BackingStoreException
-
get
-
get
-
put
-
clear
- Throws:
BackingStoreException
-
addChangeListener
-