Preferences (groovy 2.4.9 API)
Date: 2017-02-24

Package: org.codehaus.groovy.tools.shell.util

## [Java] Class Preferences

- org.codehaus.groovy.tools.shell.util.Preferences

- Container for shell preferences.

  Authors:
    Jason Dillon

- - ### Field Summary

    Fields
    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

    Methods
    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

    Inherited Methods
    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)