@Immutable public final class SystemProperties extends Object
public static void setPropertyValue(@Nonnull String sKey, @Nullable String sValue)
SecurityManager.sKey - The key of the system property. May not be null.sValue - The value of the system property. If the value is null
the property is removed.@Nullable public static String removePropertyValue(@Nonnull String sKey)
SecurityManager.sKey - The key of the system property to be removed. May not be
null.null if there was no property with that key.@DevelopersNote(value="This property is not part of the language but part of the Sun SDK") @Nullable public static String getTmpDir()
@Nonnull @ReturnsMutableCopy public static Set<String> getAllPropertyNames()
null.@Nonnull @ReturnsMutableCopy public static Map<String,String> getAllProperties()
public static boolean containsPropertyName(String sPropertyName)
sPropertyName - The name of the property.true if such a system property is present,
false otherwiseCopyright © 2006–2014 phloc systems. All rights reserved.