Class PropertyTypeConverter


  • public class PropertyTypeConverter
    extends Object
    Convert Stream Properties to appropriate types.
    • Constructor Detail

      • PropertyTypeConverter

        public PropertyTypeConverter()
    • Method Detail

      • convertToInt

        public static int convertToInt​(String string)
                                throws org.apache.synapse.SynapseException
        Throws:
        org.apache.synapse.SynapseException
      • convertToFloat

        public static float convertToFloat​(String string)
                                    throws org.apache.synapse.SynapseException
        Throws:
        org.apache.synapse.SynapseException
      • convertToDouble

        public static double convertToDouble​(String string)
                                      throws org.apache.synapse.SynapseException
        Throws:
        org.apache.synapse.SynapseException
      • convertToLong

        public static long convertToLong​(String string)
                                  throws org.apache.synapse.SynapseException
        Throws:
        org.apache.synapse.SynapseException
      • convertToBoolean

        public static boolean convertToBoolean​(String string)
                                        throws org.apache.synapse.SynapseException
        Throws:
        org.apache.synapse.SynapseException