public class SwiftFormat
extends java.lang.Object
implements org.apache.camel.spi.DataFormat
DataFormat using SWIFT with
C24 IO| Constructor and Description |
|---|
SwiftFormat() |
SwiftFormat(biz.c24.io.api.presentation.swift.SwiftPreParser swiftParser) |
SwiftFormat(biz.c24.io.api.presentation.swift.SwiftPreParser swiftParser,
biz.c24.io.api.presentation.Sink sink) |
| Modifier and Type | Method and Description |
|---|---|
protected biz.c24.io.api.presentation.Sink |
createDefaultSink() |
protected biz.c24.io.api.presentation.Sink |
createSink(org.apache.camel.model.dataformat.C24IOContentType content) |
org.apache.camel.model.dataformat.C24IOContentType |
getContentType() |
biz.c24.io.api.presentation.Sink |
getSink(org.apache.camel.Exchange exchange) |
void |
marshal(org.apache.camel.Exchange exchange,
java.lang.Object graph,
java.io.OutputStream stream) |
void |
setContentType(org.apache.camel.model.dataformat.C24IOContentType contentType) |
void |
setSink(biz.c24.io.api.presentation.Sink sink) |
java.lang.Object |
unmarshal(org.apache.camel.Exchange exchange,
java.io.InputStream stream) |
public SwiftFormat()
public SwiftFormat(biz.c24.io.api.presentation.swift.SwiftPreParser swiftParser)
public SwiftFormat(biz.c24.io.api.presentation.swift.SwiftPreParser swiftParser,
biz.c24.io.api.presentation.Sink sink)
public void marshal(org.apache.camel.Exchange exchange,
java.lang.Object graph,
java.io.OutputStream stream)
throws java.lang.Exception
marshal in interface org.apache.camel.spi.DataFormatjava.lang.Exceptionpublic java.lang.Object unmarshal(org.apache.camel.Exchange exchange,
java.io.InputStream stream)
throws java.io.IOException
unmarshal in interface org.apache.camel.spi.DataFormatjava.io.IOExceptionpublic biz.c24.io.api.presentation.Sink getSink(org.apache.camel.Exchange exchange)
public void setSink(biz.c24.io.api.presentation.Sink sink)
public org.apache.camel.model.dataformat.C24IOContentType getContentType()
public void setContentType(org.apache.camel.model.dataformat.C24IOContentType contentType)
protected biz.c24.io.api.presentation.Sink createSink(org.apache.camel.model.dataformat.C24IOContentType content)
protected biz.c24.io.api.presentation.Sink createDefaultSink()
Copyright © 2014 Red Hat. All Rights Reserved.