org.fusesource.fabric.camel.c24io
Class SwiftFormat
java.lang.Object
org.fusesource.fabric.camel.c24io.SwiftFormat
- All Implemented Interfaces:
- org.apache.camel.spi.DataFormat
public class SwiftFormat
- extends java.lang.Object
- implements org.apache.camel.spi.DataFormat
A DataFormat using SWIFT with
C24 IO
- Version:
- $Revision$
|
Constructor Summary |
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)
|
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwiftFormat
public SwiftFormat()
SwiftFormat
public SwiftFormat(biz.c24.io.api.presentation.swift.SwiftPreParser swiftParser)
SwiftFormat
public SwiftFormat(biz.c24.io.api.presentation.swift.SwiftPreParser swiftParser,
biz.c24.io.api.presentation.Sink sink)
marshal
public void marshal(org.apache.camel.Exchange exchange,
java.lang.Object graph,
java.io.OutputStream stream)
throws java.lang.Exception
- Specified by:
marshal in interface org.apache.camel.spi.DataFormat
- Throws:
java.lang.Exception
unmarshal
public java.lang.Object unmarshal(org.apache.camel.Exchange exchange,
java.io.InputStream stream)
throws java.io.IOException
- Specified by:
unmarshal in interface org.apache.camel.spi.DataFormat
- Throws:
java.io.IOException
getSink
public biz.c24.io.api.presentation.Sink getSink(org.apache.camel.Exchange exchange)
setSink
public void setSink(biz.c24.io.api.presentation.Sink sink)
getContentType
public org.apache.camel.model.dataformat.C24IOContentType getContentType()
setContentType
public void setContentType(org.apache.camel.model.dataformat.C24IOContentType contentType)
createSink
protected biz.c24.io.api.presentation.Sink createSink(org.apache.camel.model.dataformat.C24IOContentType content)
createDefaultSink
protected biz.c24.io.api.presentation.Sink createDefaultSink()
Copyright © 2013 Red Hat. All Rights Reserved.