@Converter public enum StructureConverter extends java.lang.Enum<StructureConverter>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static java.io.InputStream |
toInputStream(StructureImpl structure) |
static java.io.OutputStream |
toOutputStream(StructureImpl structure) |
static java.lang.String |
toString(StructureImpl structure) |
static Structure |
toStructure(byte[] byteArray) |
static Structure |
toStructure(java.io.InputStream in) |
static Structure |
toStructure(java.lang.String string) |
static StructureConverter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StructureConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructureConverter INSTANCE
public static StructureConverter[] values()
for (StructureConverter c : StructureConverter.values()) System.out.println(c);
public static StructureConverter 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 null@Converter public static Structure toStructure(java.lang.String string)
@Converter public static Structure toStructure(java.io.InputStream in)
@Converter public static Structure toStructure(byte[] byteArray)
@Converter public static java.lang.String toString(StructureImpl structure)
@Converter public static java.io.OutputStream toOutputStream(StructureImpl structure)
@Converter public static java.io.InputStream toInputStream(StructureImpl structure)
Copyright © 2017 Red Hat. All Rights Reserved.