Bug 35917 [JFace] StringConvertor.asDisplayableString should be deprecated
R2.1 This is the same as asString - there is no need to keep it around any longer. It is also not currently in use in the workbench.
bundles/org.eclipse.jface/src/org/eclipse/jface/resource/StringConverter.java
public static boolean asBoolean(String value) throws DataFormatException {
		String v = value.toLowerCase();
		if (v.equals("t") || v.equals("true")) 
			return true;
		if (value.equals("f") || v.equals("false")) 
			return false;
		throw new DataFormatException("Value " + value + "doesn't represent a boolean"); 
	}
	/**
	 * Converts the given value into a boolean.
	 * Returns the given default value if the 
	 * value does not represent a boolean.
	 *
	 * @param value the value to be converted
	 * @param dflt the default value
	 * @return the value as a boolean, or the default value
	 */
	public static boolean asBoolean(String value, boolean dflt) {
		try {
			return asBoolean(value);
		} catch (DataFormatException e) {
			return dflt;
		}
	}
	/**
	 * Converts the given value into a double.
	 * This method fails if the value does not represent a double.
	 *
	 * @param value the value to be converted
	 * @return the value as a double