@ThreadSafe public final class SystemProperties extends Object
public static final String SYSTEM_PROPERTY_FILE_SEPARATOR
public static final String SYSTEM_PROPERTY_JAVA_CLASS_PATH
public static final String SYSTEM_PROPERTY_JAVA_CLASS_VERSION
public static final String SYSTEM_PROPERTY_JAVA_LIBRARY_PATH
public static final String SYSTEM_PROPERTY_JAVA_HOME
public static final String SYSTEM_PROPERTY_JAVA_IO_TMPDIR
public static final String SYSTEM_PROPERTY_JAVA_SPECIFICATION_URL
public static final String SYSTEM_PROPERTY_JAVA_SPECIFICATION_VENDOR
public static final String SYSTEM_PROPERTY_JAVA_SPECIFICATION_VERSION
public static final String SYSTEM_PROPERTY_JAVA_VENDOR
public static final String SYSTEM_PROPERTY_JAVA_VENDOR_URL
public static final String SYSTEM_PROPERTY_JAVA_VERSION
public static final String SYSTEM_PROPERTY_JAVA_VM_NAME
public static final String SYSTEM_PROPERTY_JAVA_VM_SPECIFICATION_URL
public static final String SYSTEM_PROPERTY_JAVA_VM_SPECIFICATION_VENDOR
public static final String SYSTEM_PROPERTY_JAVA_VM_SPECIFICATION_VERSION
public static final String SYSTEM_PROPERTY_JAVA_VM_URL
public static final String SYSTEM_PROPERTY_JAVA_VM_VENDOR
public static final String SYSTEM_PROPERTY_JAVA_VM_VERSION
public static final String SYSTEM_PROPERTY_LINE_SEPARATOR
public static final String SYSTEM_PROPERTY_OS_ARCH
public static final String SYSTEM_PROPERTY_OS_NAME
public static final String SYSTEM_PROPERTY_OS_VERSION
public static final String SYSTEM_PROPERTY_PATH_SEPARATOR
public static final String SYSTEM_PROPERTY_USER_DIR
public static final String SYSTEM_PROPERTY_USER_HOME
public static final String SYSTEM_PROPERTY_USER_NAME
public static final String SYSTEM_PROPERTY_SUN_IO_SERIALIZATION_EXTENDEDDEBUGINFO
public static void clearWarnedPropertyNames()
@Nonnull @ReturnsMutableCopy public static ICommonsSet<String> getAllWarnedPropertyNames()
public static void setPropertyValue(@Nonnull String sKey, boolean bValue)
SecurityManager.sKey - The key of the system property. May not be null.bValue - The value of the system property.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 ICommonsSet<String> getAllPropertyNames()
null.@Nonnull @ReturnsMutableCopy public static ICommonsMap<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 © 2014–2016 Philip Helger. All rights reserved.