Groovy 2.2.1

org.codehaus.groovy.tools.shell.util
[Java] Class Preferences

java.lang.Object
  org.codehaus.groovy.tools.shell.util.Preferences

public class Preferences
extends Object

Container for shell preferences.

Authors:
Jason Dillon
Version:
\$Id\$


Field Summary
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

 
Method Summary
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)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

EDITOR_KEY

public static final String EDITOR_KEY


PARSER_FLAVOR_KEY

public static final String PARSER_FLAVOR_KEY


PARSER_RELAXED

public static final String PARSER_RELAXED


PARSER_RIGID

public static final String PARSER_RIGID


SANITIZE_STACK_TRACE_KEY

public static final String SANITIZE_STACK_TRACE_KEY


SHOW_LAST_RESULT_KEY

public static final String SHOW_LAST_RESULT_KEY


VERBOSITY_KEY

public static final String VERBOSITY_KEY


verbosity

public static Verbosity verbosity


 
Method Detail

addChangeListener

public static void addChangeListener(PreferenceChangeListener listener)


clear

public static void clear()


get

public static String get(String name, String defaultValue)


get

public static String get(String name)


getEditor

public static String getEditor()


getParserFlavor

public static String getParserFlavor()


getSanitizeStackTrace

public static boolean getSanitizeStackTrace()


getShowLastResult

public static boolean getShowLastResult()


keys

public static String[] keys()


put

public static void put(String name, String value)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.