|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.listeners.message.mime.TextPlainMimeDecoder
@MimeType(value="text/plain") public class TextPlainMimeDecoder
Mime decoder for mime type "text/plain".
Decodes the bytes to a simple String.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.soa.esb.listeners.message.mime.MimeDecoder |
|---|
MimeDecoder.Factory |
| Constructor Summary | |
|---|---|
TextPlainMimeDecoder()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
decode(byte[] bytes)
Decode the specified array of bytes based on the MimeType
annotation on the implementing MimeDecoder. |
void |
setConfiguration(ConfigTree configTree)
Set the component configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextPlainMimeDecoder()
| Method Detail |
|---|
public void setConfiguration(ConfigTree configTree)
throws ConfigurationException
Configurable
setConfiguration in interface ConfigurableconfigTree - The conponent configuration.
ConfigurationException - Bad component configuration.
public java.lang.Object decode(byte[] bytes)
throws MimeDecodeException
MimeDecoderMimeType
annotation on the implementing MimeDecoder.
decode in interface MimeDecoderbytes - The bytes to be decoded.
MimeDecodeException - Error while decoding the byts array.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||