public enum FileRepositoryProtocol extends Enum<FileRepositoryProtocol>
Modifier and Type | Method and Description |
---|---|
static FileRepositoryProtocol |
get(String value) |
static FileRepositoryProtocol[] |
getArray(String[] values) |
String |
toString() |
String |
value() |
static FileRepositoryProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileRepositoryProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileRepositoryProtocol WEBDAV
public static final FileRepositoryProtocol FTP
public static FileRepositoryProtocol[] values()
for (FileRepositoryProtocol c : FileRepositoryProtocol.values()) System.out.println(c);
public static FileRepositoryProtocol 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 String value()
public String toString()
toString
in class Enum<FileRepositoryProtocol>
public static FileRepositoryProtocol get(String value)
public static FileRepositoryProtocol[] getArray(String[] values)
Copyright © 2017 ECG. All rights reserved.