org.jboss.soa.esb.listeners.message.mime
Class NullMimeDecoder

java.lang.Object
  extended by org.jboss.soa.esb.listeners.message.mime.NullMimeDecoder
All Implemented Interfaces:
MimeDecoder

public class NullMimeDecoder
extends java.lang.Object
implements MimeDecoder

Null (pass thru) decoder.

Author:
tom.fennelly@gmail.com

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.soa.esb.listeners.message.mime.MimeDecoder
MimeDecoder.Factory
 
Constructor Summary
NullMimeDecoder()
           
 
Method Summary
 java.lang.Object decode(byte[] bytes)
          Decode the specified array of bytes based on the MimeType annotation on the implementing MimeDecoder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullMimeDecoder

public NullMimeDecoder()
Method Detail

decode

public java.lang.Object decode(byte[] bytes)
                        throws MimeDecodeException
Description copied from interface: MimeDecoder
Decode the specified array of bytes based on the MimeType annotation on the implementing MimeDecoder.

Specified by:
decode in interface MimeDecoder
Parameters:
bytes - The bytes to be decoded.
Returns:
The decoded bytes.
Throws:
MimeDecodeException - Error while decoding the byts array.