/** * Returns the value of the property as a string, or null if the property is * not set. */ public String stringValue() { return getInternal(null, false); }
private void writePropertyValue(Writer writer, Property property) throws IOException { writer.write(property.getPath()); writer.write('='); String value = property.getInternal(null, false); if (value != null) { writer.write(value); } } }
/** * Returns the boolean value of this property. */ public boolean booleanValue() { final String value = getInternal(null, false); if (value == null) { return false; } return toBoolean(value); }