public static enum UploadService.Version extends java.lang.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(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null