org.tinygroup.convert.util
Class ConvertUtil
java.lang.Object
org.tinygroup.convert.util.ConvertUtil
public final class ConvertUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAttributeValue
public static String getAttributeValue(Object object,
String property)
throws ConvertException
- Throws:
ConvertException
setAttributeValue
public static void setAttributeValue(Object object,
String property,
Object value)
throws ConvertException
- Throws:
ConvertException
textToObjectList
public static <T> List<T> textToObjectList(Class<T> clazz,
Text text)
throws ConvertException
- Throws:
ConvertException
textToObject
public static <T> T textToObject(Class<T> clazz,
TextRow titleRow,
TextRow dataRow)
throws ConvertException
- Throws:
ConvertException
getBytesLength
public static int getBytesLength(String s)
throws ConvertException
- Throws:
ConvertException
getStringArrayByBytesLength
public static List<String> getStringArrayByBytesLength(String string,
List<Integer> filedBytesPosList)
throws ConvertException
- Throws:
ConvertException
Copyright © 2006–2015 TinyGroup. All rights reserved.