[Java] Class Preferences
- org.codehaus.groovy.tools.shell.util.Preferences
Container for shell preferences.
- Authors:
- Jason Dillon
Field Summary
Modifiers | Name | 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 String | VERBOSITY_KEY | |
static Verbosity | verbosity |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
static void |
addChangeListener(PreferenceChangeListener listener) | |
static void |
clear() | |
static String |
get(String name, String defaultValue) | |
static String |
get(String name) | |
static String |
getEditor() | |
static String |
getParserFlavor() | |
static boolean |
getSanitizeStackTrace() | |
static boolean |
getShowLastResult() | |
static String[] |
keys() | |
static void |
put(String name, String value) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
public static final String EDITOR_KEY
public static final String PARSER_FLAVOR_KEY
public static final String PARSER_RELAXED
public static final String PARSER_RIGID
public static final String SANITIZE_STACK_TRACE_KEY
public static final String SHOW_LAST_RESULT_KEY
public static final String VERBOSITY_KEY
public static Verbosity verbosity
Method Detail
public static void addChangeListener(PreferenceChangeListener listener)
public static void clear()
public static String get(String name, String defaultValue)
public static String get(String name)
public static String getEditor()
public static String getParserFlavor()
public static boolean getSanitizeStackTrace()
public static boolean getShowLastResult()
public static String[] keys()
public static void put(String name, String value)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/tools/shell/util/Preferences.html