/** * Returns the value of a particular system property. The {@code * defaultValue} will be returned if no such property has been found. */ public static String getProperty(String name, String defaultValue) { checkPropertyName(name); return getProperties().getProperty(name, defaultValue); }
/** * Sets the value of a particular system property. * * @return the old value of the property or {@code null} if the property * didn't exist. */ public static String setProperty(String name, String value) { checkPropertyName(name); return (String) getProperties().setProperty(name, value); }
/** * Removes a specific system property. * * @return the property value or {@code null} if the property didn't exist. * @throws NullPointerException * if the argument is {@code null}. * @throws IllegalArgumentException * if the argument is empty. */ public static String clearProperty(String name) { checkPropertyName(name); return (String) getProperties().remove(name); }
/** * Returns the value of a particular system property. The {@code * defaultValue} will be returned if no such property has been found. */ public static String getProperty(String name, String defaultValue) { checkPropertyName(name); return getProperties().getProperty(name, defaultValue); }
/** * Sets the value of a particular system property. * * @return the old value of the property or {@code null} if the property * didn't exist. */ public static String setProperty(String name, String value) { checkPropertyName(name); return (String) getProperties().setProperty(name, value); }
/** * Sets the value of a particular system property. * * @return the old value of the property or {@code null} if the property * didn't exist. */ public static String setProperty(String name, String value) { checkPropertyName(name); return (String) getProperties().setProperty(name, value); }
/** * Returns the value of a particular system property. The {@code * defaultValue} will be returned if no such property has been found. */ public static String getProperty(String name, String defaultValue) { checkPropertyName(name); return getProperties().getProperty(name, defaultValue); }
/** * Returns the value of a particular system property. The {@code * defaultValue} will be returned if no such property has been found. */ public static String getProperty(String name, String defaultValue) { checkPropertyName(name); return getProperties().getProperty(name, defaultValue); }
/** * Removes a specific system property. * * @return the property value or {@code null} if the property didn't exist. * @throws NullPointerException * if the argument is {@code null}. * @throws IllegalArgumentException * if the argument is empty. */ public static String clearProperty(String name) { checkPropertyName(name); return (String) getProperties().remove(name); }
/** * Removes a specific system property. * * @return the property value or {@code null} if the property didn't exist. * @throws NullPointerException * if the argument is {@code null}. * @throws IllegalArgumentException * if the argument is empty. */ public static String clearProperty(String name) { checkPropertyName(name); return (String) getProperties().remove(name); }
/** * Sets the value of a particular system property. * * @return the old value of the property or {@code null} if the property * didn't exist. */ public static String setProperty(String name, String value) { checkPropertyName(name); return (String) getProperties().setProperty(name, value); }
/** * Returns the value of a particular system property. The {@code * defaultValue} will be returned if no such property has been found. */ public static String getProperty(String name, String defaultValue) { checkPropertyName(name); return getProperties().getProperty(name, defaultValue); }
/** * Sets the value of a particular system property. * * @return the old value of the property or {@code null} if the property * didn't exist. */ public static String setProperty(String name, String value) { checkPropertyName(name); return (String) getProperties().setProperty(name, value); }
/** * Returns the value of a particular system property. The {@code * defaultValue} will be returned if no such property has been found. */ public static String getProperty(String name, String defaultValue) { checkPropertyName(name); return getProperties().getProperty(name, defaultValue); }
/** * Sets the value of a particular system property. * * @return the old value of the property or {@code null} if the property * didn't exist. */ public static String setProperty(String name, String value) { checkPropertyName(name); return (String) getProperties().setProperty(name, value); }
/** * Removes a specific system property. * * @return the property value or {@code null} if the property didn't exist. * @throws NullPointerException * if the argument is {@code null}. * @throws IllegalArgumentException * if the argument is empty. */ public static String clearProperty(String name) { checkPropertyName(name); return (String) getProperties().remove(name); }
/** * Returns the value of a particular system property. The {@code * defaultValue} will be returned if no such property has been found. */ public static String getProperty(String name, String defaultValue) { checkPropertyName(name); return getProperties().getProperty(name, defaultValue); }
/** * Sets the value of a particular system property. * * @return the old value of the property or {@code null} if the property * didn't exist. */ public static String setProperty(String name, String value) { checkPropertyName(name); return (String) getProperties().setProperty(name, value); }
/** * Removes a specific system property. * * @return the property value or {@code null} if the property didn't exist. * @throws NullPointerException * if the argument is {@code null}. * @throws IllegalArgumentException * if the argument is empty. */ public static String clearProperty(String name) { checkPropertyName(name); return (String) getProperties().remove(name); }
/** * Removes a specific system property. * * @return the property value or {@code null} if the property didn't exist. * @throws NullPointerException * if the argument is {@code null}. * @throws IllegalArgumentException * if the argument is empty. */ public static String clearProperty(String name) { checkPropertyName(name); return (String) getProperties().remove(name); }