org.apache.camel.component.syslog
Class Rfc3164SyslogDataFormat

java.lang.Object
  extended by org.apache.camel.component.syslog.Rfc3164SyslogDataFormat
All Implemented Interfaces:
org.apache.camel.spi.DataFormat

public class Rfc3164SyslogDataFormat
extends java.lang.Object
implements org.apache.camel.spi.DataFormat


Constructor Summary
Rfc3164SyslogDataFormat()
           
 
Method Summary
 void marshal(org.apache.camel.Exchange exchange, java.lang.Object body, java.io.OutputStream stream)
           
 java.lang.Object unmarshal(org.apache.camel.Exchange exchange, java.io.InputStream inputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rfc3164SyslogDataFormat

public Rfc3164SyslogDataFormat()
Method Detail

marshal

public void marshal(org.apache.camel.Exchange exchange,
                    java.lang.Object body,
                    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 inputStream)
                           throws java.lang.Exception
Specified by:
unmarshal in interface org.apache.camel.spi.DataFormat
Throws:
java.lang.Exception


Apache CAMEL