public static enum UploadService.Version extends Enum<UploadService.Version>
Enum Constant and Description |
---|
v0_2
Upload service as specified in XEP-0363 v0.2 or lower.
|
v0_3
Upload service as specified in XEP-0363 v0.3 or higher.
|
Modifier and Type | Method and Description |
---|---|
static UploadService.Version |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UploadService.Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UploadService.Version v0_2
public static final UploadService.Version v0_3
public static UploadService.Version[] values()
for (UploadService.Version c : UploadService.Version.values()) System.out.println(c);
public static UploadService.Version 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 null