Code example for Preferences

Methods: putBoolean

0
    return preferences.getBoolean(USE_DEFAULT_XLSVIEWER_KEY, true);
  } 
 
  public void setUseDefaultXLSViewer(final boolean useDefaultXLSViewer)
  { 
    preferences.putBoolean(USE_DEFAULT_XLSVIEWER_KEY, useDefaultXLSViewer);
  } 
 
  public String getCustomXLSViewerExecutable()
  { 
    return preferences.get(CUSTOM_XLSVIEWER_EXECUTABLE_KEY, null);
  } 
 
  public void setCustomXLSViewerExecutable(final String customXLSViewerExecutable)
  { 
    preferences.put(CUSTOM_XLSVIEWER_EXECUTABLE_KEY, customXLSViewerExecutable);
  } 
 
  public String getCustomXLSViewerParameters()
  { 
Contextual code suggestions in your IDE  Get Codota for Java