Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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