public enum ImageTypeDto extends Enum<ImageTypeDto>
| Enum Constant and Description |
|---|
BMP |
EPS |
GIF |
JPEG |
PDF |
PNG |
SVG |
TIFF |
| Modifier and Type | Method and Description |
|---|---|
static ImageTypeDto |
forExtension(String extension) |
String |
getExtension() |
static ImageTypeDto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageTypeDto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageTypeDto JPEG
public static final ImageTypeDto PNG
public static final ImageTypeDto GIF
public static final ImageTypeDto SVG
public static final ImageTypeDto EPS
public static final ImageTypeDto PDF
public static final ImageTypeDto TIFF
public static final ImageTypeDto BMP
public static ImageTypeDto[] values()
for (ImageTypeDto c : ImageTypeDto.values()) System.out.println(c);
public static ImageTypeDto 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 getExtension()
public static ImageTypeDto forExtension(String extension)
Copyright © 2020. All rights reserved.