Class Preferences
- java.lang.Object
- 
- org.codehaus.groovy.tools.shell.util.Preferences
 
- 
 public class Preferences extends Object Container for shell preferences.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringEDITOR_KEYstatic StringPARSER_FLAVOR_KEYstatic StringPARSER_RELAXEDstatic StringPARSER_RIGIDstatic StringSANITIZE_STACK_TRACE_KEYstatic StringSHOW_LAST_RESULT_KEYstatic IO.Verbosityverbositystatic StringVERBOSITY_KEY
 - 
Constructor SummaryConstructors Constructor Description Preferences()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddChangeListener(PreferenceChangeListener listener)static voidclear()static Stringget(String name)static Stringget(String name, String defaultValue)static StringgetEditor()static StringgetParserFlavor()static booleangetSanitizeStackTrace()static booleangetShowLastResult()static String[]keys()static voidput(String name, String value)
 
- 
- 
- 
Field Detail- 
verbositypublic static IO.Verbosity verbosity 
 - 
VERBOSITY_KEYpublic static final String VERBOSITY_KEY - See Also:
- Constant Field Values
 
 - 
SHOW_LAST_RESULT_KEYpublic static final String SHOW_LAST_RESULT_KEY - See Also:
- Constant Field Values
 
 - 
SANITIZE_STACK_TRACE_KEYpublic static final String SANITIZE_STACK_TRACE_KEY - See Also:
- Constant Field Values
 
 - 
EDITOR_KEYpublic static final String EDITOR_KEY - See Also:
- Constant Field Values
 
 - 
PARSER_FLAVOR_KEYpublic static final String PARSER_FLAVOR_KEY - See Also:
- Constant Field Values
 
 - 
PARSER_RIGIDpublic static final String PARSER_RIGID - See Also:
- Constant Field Values
 
 - 
PARSER_RELAXEDpublic static final String PARSER_RELAXED - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getShowLastResultpublic static boolean getShowLastResult() 
 - 
getSanitizeStackTracepublic static boolean getSanitizeStackTrace() 
 - 
getEditorpublic static String getEditor() 
 - 
getParserFlavorpublic static String getParserFlavor() 
 - 
keyspublic static String[] keys() throws BackingStoreException - Throws:
- BackingStoreException
 
 - 
clearpublic static void clear() throws BackingStoreException- Throws:
- BackingStoreException
 
 - 
addChangeListenerpublic static void addChangeListener(PreferenceChangeListener listener) 
 
- 
 
-