org.jboss.soa.esb.listeners.message.mime
Class MimeDecoder.Factory
java.lang.Object
org.jboss.soa.esb.listeners.message.mime.MimeDecoder.Factory
- Enclosing interface:
- MimeDecoder
public static class MimeDecoder.Factory
- extends java.lang.Object
Factory class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIME_TYPE
public static final java.lang.String MIME_TYPE
- See Also:
- Constant Field Values
MIME_DECODER
public static final java.lang.String MIME_DECODER
- See Also:
- Constant Field Values
DECODERS_LST_RESOURCE
public static final java.lang.String DECODERS_LST_RESOURCE
- See Also:
- Constant Field Values
MimeDecoder.Factory
public MimeDecoder.Factory()
getInstanceByType
public static MimeDecoder getInstanceByType(java.lang.String mimeType)
throws ConfigurationException
- Get a MimeDecoder instance by mime type.
- Parameters:
mimeType
- The mime type.
- Returns:
- The MimeDecoder for that mime type.
- Throws:
ConfigurationException
- Error creating MimeDecoder instance.
getInstanceByClassName
public static MimeDecoder getInstanceByClassName(java.lang.String className)
throws ConfigurationException
- Get a MimeDecoder instance by class name.
- Parameters:
className
- The MimeDecoder class name.
- Returns:
- The MimeDecoder instance.
- Throws:
ConfigurationException
- Error creating MimeDecoder instance.
getInstanceByConfigTree
public static MimeDecoder getInstanceByConfigTree(ConfigTree config)
throws ConfigurationException
- Get a MimeDecoder instance by
ConfigTree
.
- Parameters:
config
- The ConfigTree instance.
- Returns:
- The MimeDecoder instance.
- Throws:
ConfigurationException
- Error creating MimeDecoder instance.