public static enum UploadService.UploadUnit extends Enum<UploadService.UploadUnit>
| Modifier and Type | Method and Description |
|---|---|
static UploadService.UploadUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UploadService.UploadUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UploadService.UploadUnit KB
public static final UploadService.UploadUnit MB
public static final UploadService.UploadUnit GB
public static UploadService.UploadUnit[] values()
for (UploadService.UploadUnit c : UploadService.UploadUnit.values()) System.out.println(c);
public static UploadService.UploadUnit 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 nullCopyright © 2018 JBoss by Red Hat. All Rights Reserved.