public enum ReportRenderFormat extends Enum<ReportRenderFormat>
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
String |
getExtension() |
static ReportRenderFormat |
valueOf(Integer code)
Get by code
|
static ReportRenderFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportRenderFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportRenderFormat NONE
public static final ReportRenderFormat PDF
public static final ReportRenderFormat XLS
public static ReportRenderFormat[] values()
for (ReportRenderFormat c : ReportRenderFormat.values()) System.out.println(c);
public static ReportRenderFormat 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 int getCode()
public static final ReportRenderFormat valueOf(Integer code)
public String getExtension()
Copyright © 2014. All rights reserved.