org.kuali.rice.kns.util
Class KNSUtils
java.lang.Object
org.kuali.rice.kns.util.KNSUtils
public class KNSUtils
- extends Object
Miscellaneous Utility Methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KNSUtils
public KNSUtils()
getBusinessTitleForClass
public static final String getBusinessTitleForClass(Class<? extends Object> clazz)
getFileNameFromPath
public static final List<String> getFileNameFromPath(List<String> fullFileNames)
- Picks off the filename from the full path. Takes care of different OS seperators.
convertDecimalIntoInteger
public static final String convertDecimalIntoInteger(KualiDecimal decimalNumber)
- Convert the given monney amount into an interger string. Since the return string cannot have decimal point, multiplies the
amount by 100 so the decimal places are not lost, for example, 320.15 is converted into 32015.
- Returns:
- an integer string of the given money amount through multiplicating by 100 and removing the fraction portion.
getIntegerValue
public static Integer getIntegerValue(String numberStr)
createObject
public static Object createObject(Class<?> clazz,
Class<?>[] argumentClasses,
Object[] argumentValues)
joinWithQuotes
public static String joinWithQuotes(List<String> list)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.