org.apache.camel.groovy.converter
Class TypeConverter
java.lang.Object
org.apache.camel.groovy.converter.TypeConverter
@Converter
public final class TypeConverter
- extends Object
TypeConverter for Groovy GStrings.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toInputStream
@Converter
public static InputStream toInputStream(groovy.lang.GString value,
org.apache.camel.Exchange exchange)
throws IOException
- Throws:
IOException
toByteArray
@Converter
public static byte[] toByteArray(groovy.lang.GString value,
org.apache.camel.Exchange exchange)
throws IOException
- Throws:
IOException
toReader
@Converter
public static StringReader toReader(groovy.lang.GString value)
toChar
@Converter
public static char toChar(groovy.lang.GString value)
toInteger
@Converter
public static Integer toInteger(groovy.lang.GString value)
toLong
@Converter
public static Long toLong(groovy.lang.GString value)
toFloat
@Converter
public static Float toFloat(groovy.lang.GString value)
toDouble
@Converter
public static Double toDouble(groovy.lang.GString value)
toBoolean
@Converter
public static Boolean toBoolean(groovy.lang.GString value)
Apache Camel