public enum NoImage extends Enum<NoImage>
| Modifier and Type | Method and Description |
|---|---|
String |
getFileExtension() |
String |
getFileName() |
static InputStream |
getInputStream(String extension) |
static NoImage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoImage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoImage PDF
public static final NoImage DOC
public static final NoImage DOCX
public static final NoImage XLS
public static final NoImage PTT
public static NoImage[] values()
for (NoImage c : NoImage.values()) System.out.println(c);
public static NoImage 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 getFileExtension()
public String getFileName()
public static InputStream getInputStream(String extension)
Copyright © 2018 Suncode. All rights reserved.