Code example for Preferences

Methods: flush

0
		return new PreferencesAdapter(this, jPrefs.node(pathName));
	} 
 
	public void flush() { 
		try { 
			jPrefs.flush();
		} catch (BackingStoreException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} 
	} 
 
	/* 
	 * (non-Javadoc) 
	 *  
	 * @see 
	 * org.eclipse.jface.preference.IPreferenceStore#getString(java.lang.String) 
	 */ 
	public String get(String name) {
		if (hasModifier(name, MODIFIER_NULL)) {
			return null;