@Converter public enum DocumentConverter extends Enum<DocumentConverter>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static org.fusesource.camel.component.sap.model.idoc.Document |
toDocument(byte[] byteArray) |
static org.fusesource.camel.component.sap.model.idoc.Document |
toDocument(InputStream in) |
static org.fusesource.camel.component.sap.model.idoc.Document |
toDocument(String string) |
static InputStream |
toInputStream(org.fusesource.camel.component.sap.model.idoc.impl.DocumentImpl document) |
static OutputStream |
toOutputStream(org.fusesource.camel.component.sap.model.idoc.impl.DocumentImpl document) |
static String |
toString(org.fusesource.camel.component.sap.model.idoc.impl.DocumentImpl document) |
static DocumentConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentConverter INSTANCE
public static DocumentConverter[] values()
for (DocumentConverter c : DocumentConverter.values()) System.out.println(c);
public static DocumentConverter 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 null@Converter public static org.fusesource.camel.component.sap.model.idoc.Document toDocument(String string) throws org.apache.camel.CamelException
org.apache.camel.CamelException
@Converter public static org.fusesource.camel.component.sap.model.idoc.Document toDocument(InputStream in) throws org.apache.camel.CamelException
org.apache.camel.CamelException
@Converter public static org.fusesource.camel.component.sap.model.idoc.Document toDocument(byte[] byteArray) throws org.apache.camel.CamelException
org.apache.camel.CamelException
@Converter public static String toString(org.fusesource.camel.component.sap.model.idoc.impl.DocumentImpl document) throws org.apache.camel.CamelException
org.apache.camel.CamelException
@Converter public static OutputStream toOutputStream(org.fusesource.camel.component.sap.model.idoc.impl.DocumentImpl document) throws org.apache.camel.CamelException
org.apache.camel.CamelException
@Converter public static InputStream toInputStream(org.fusesource.camel.component.sap.model.idoc.impl.DocumentImpl document) throws org.apache.camel.CamelException
org.apache.camel.CamelException
Apache Camel