org.mule.module.ibeans.spi.support
Class DataTypeConverter

java.lang.Object
  extended by org.mule.module.ibeans.spi.support.DataTypeConverter

public class DataTypeConverter
extends Object

Both Mule and iBeans define a DataType model for associating Java types with other info such as mime type and encoding This classes provides a couple of functions to convert between the two models


Constructor Summary
DataTypeConverter()
           
 
Method Summary
static DataType convertIBeansToMule(org.ibeans.api.DataType ibeansDT)
           
static org.ibeans.api.DataType convertMuleToIBeans(DataType muleDT)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataTypeConverter

public DataTypeConverter()
Method Detail

convertMuleToIBeans

public static org.ibeans.api.DataType convertMuleToIBeans(DataType muleDT)
                                                   throws MimeTypeParseException
Throws:
MimeTypeParseException

convertIBeansToMule

public static DataType convertIBeansToMule(org.ibeans.api.DataType ibeansDT)
                                    throws MimeTypeParseException
Throws:
MimeTypeParseException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.