1 7 package com.inversoft.util.typeconverter; 8 9 10 30 public interface TypeConverter { 31 32 71 Object convert(Object value, Class convertTo) throws TypeConversionException; 72 73 98 Object convertString(String value, Class convertTo) throws TypeConversionException; 99 100 120 Object convertArray(Object [] values, Class convertTo) 121 throws TypeConversionException; 122 123 137 Object [] convertArrayToArray(Object [] values, Class convertTo) 138 throws TypeConversionException; 139 140 158 Object [] convertToArray(Object value, Class convertTo) 159 throws TypeConversionException; 160 161 180 Object [] convertStringToArray(String value, String delimiter, Class convertTo) 181 throws TypeConversionException; 182 } 183 184 | Popular Tags |