public static enum SimpleFileSystemProvider.OSType extends Enum<SimpleFileSystemProvider.OSType>
Modifier and Type | Method and Description |
---|---|
static SimpleFileSystemProvider.OSType |
currentOS() |
static SimpleFileSystemProvider.OSType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleFileSystemProvider.OSType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleFileSystemProvider.OSType WINDOWS
public static final SimpleFileSystemProvider.OSType UNIX_LIKE
public static SimpleFileSystemProvider.OSType[] values()
for (SimpleFileSystemProvider.OSType c : SimpleFileSystemProvider.OSType.values()) System.out.println(c);
public static SimpleFileSystemProvider.OSType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SimpleFileSystemProvider.OSType currentOS()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.