org.mule.module.ibeans.spi.support
Class DataTypeConverter
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataTypeConverter
public DataTypeConverter()
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.