Code example for Preferences

Methods: putBoolean

0
    return preferences.getBoolean(USE_DEFAULT_CSVVIEWER_KEY, true);
  } 
 
  public void setUseDefaultCSVViewer(final boolean useDefaultCSVViewer)
  { 
    preferences.putBoolean(USE_DEFAULT_CSVVIEWER_KEY, useDefaultCSVViewer);
  } 
 
  public String getCustomCSVViewerExecutable()
  { 
    return preferences.get(CUSTOM_CSVVIEWER_EXECUTABLE_KEY, null);
  } 
 
  public void setCustomCSVViewerExecutable(final String customCSVViewerExecutable)
  { 
    preferences.put(CUSTOM_CSVVIEWER_EXECUTABLE_KEY, customCSVViewerExecutable);
  } 
 
  public String getCustomCSVViewerParameters()
  { 
Stop searching for code, let great code find you!  Add Codota to your java IDE