Code example for Preferences

Methods: getBoolean

0
    preferences.put(CUSTOM_XLSVIEWER_PARAMETERS_KEY, customXLSViewerParameters);
  } 
 
  public boolean isUseDefaultCSVViewer() 
  { 
    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)
  { 
Connect your IDE to all the code out there  Get Codota for Java