public static enum FileJsonSerializer.Type extends java.lang.Enum<FileJsonSerializer.Type>
| Enum Constant and Description |
|---|
CONTENT
File will be serialized with content in Base64 form/
|
NAME
File will be serialized as its name.
|
PATH
File will be serialized with the full path.
|
| Modifier and Type | Method and Description |
|---|---|
static FileJsonSerializer.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileJsonSerializer.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileJsonSerializer.Type PATH
public static final FileJsonSerializer.Type NAME
public static final FileJsonSerializer.Type CONTENT
public static FileJsonSerializer.Type[] values()
for (FileJsonSerializer.Type c : FileJsonSerializer.Type.values()) System.out.println(c);
public static FileJsonSerializer.Type 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 nullCopyright © 2003-present Jodd Team