com.norbl.util
Enum SysProp
java.lang.Object
java.lang.Enum<SysProp>
com.norbl.util.SysProp
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SysProp>
public enum SysProp
- extends java.lang.Enum<SysProp>
I'm sick of typing these strings.
Method Summary |
java.lang.String |
getKey()
|
java.lang.String |
getVal()
|
static void |
main(java.lang.String[] argv)
|
static SysProp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SysProp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
java_version
public static final SysProp java_version
java_vendor
public static final SysProp java_vendor
java_vendor_url
public static final SysProp java_vendor_url
java_home
public static final SysProp java_home
java_vm_specification_version
public static final SysProp java_vm_specification_version
java_vm_specification_vendor
public static final SysProp java_vm_specification_vendor
java_vm_specification_name
public static final SysProp java_vm_specification_name
java_vm_version
public static final SysProp java_vm_version
java_vm_vendor
public static final SysProp java_vm_vendor
java_vm_name
public static final SysProp java_vm_name
java_specification_version
public static final SysProp java_specification_version
java_specification_vendor
public static final SysProp java_specification_vendor
java_specification_name
public static final SysProp java_specification_name
java_class_version
public static final SysProp java_class_version
java_class_path
public static final SysProp java_class_path
java_library_path
public static final SysProp java_library_path
java_io_tmpdir
public static final SysProp java_io_tmpdir
java_compiler
public static final SysProp java_compiler
java_ext_dirs
public static final SysProp java_ext_dirs
os_name
public static final SysProp os_name
os_arch
public static final SysProp os_arch
os_version
public static final SysProp os_version
file_separator
public static final SysProp file_separator
path_separator
public static final SysProp path_separator
line_separator
public static final SysProp line_separator
user_name
public static final SysProp user_name
user_home
public static final SysProp user_home
user_dir
public static final SysProp user_dir
values
public static SysProp[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SysProp c : SysProp.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SysProp valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getKey
public java.lang.String getKey()
getVal
public java.lang.String getVal()
main
public static void main(java.lang.String[] argv)