Class TypeConverter
java.lang.Object
com.swiftmq.impl.streams.TypeConverter
Convenience class to convert an object into various basic types. It is accessible from
Streams scripts via variable "typeconvert".
- Author:
- IIT Software GmbH, Muenster/Germany, (c) 2020, All Rights Reserved
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanConvert an object to BooleandoubleConvert an object to DoubledoubleConvert an object to FloatintConvert an object to IntegerlongConvert an object to Long
-
Constructor Details
-
TypeConverter
public TypeConverter()
-
-
Method Details
-
toBoolean
Convert an object to Boolean- Parameters:
o- Object- Returns:
- Boolean
-
toInteger
-
toLong
-
toDouble
-
toFloat
-