Hello. there.
This might be very simple question. but I'm just curious about this.
I am wondering if Java API offer the any native method for converting uppercased string value to lowercase which obey the Hungarian notation.
What I'm going to do is using Reflection for excuting RFC function on SAP. I was found it is very similar to JDBC Programming.
Please refer to blow codes.
//mTable
JCoTable mTable = function.getTableParameterList().getTable(rtnTblNm);
for (int i = 0; i < mTable.getNumRows(); i++) {
mTable.setRow(i);
HashMap tmpData = new HashMap ();
for (int j=0; j < mTable.getNumColumns(); j++) {
// I want to set key String [userNo] instead of [USER_NO] here.
tmpData.put(mTable.getMetaData().getName(j).toLowerCase(), mTable.getString(j));
}
result.add(tmpData);
}
Basically, The idea was from ibatis framework [com.ibatis.common.beans.classInfo] dropcase();
Any idea would be very helpful for me. Thank you.
Edited by: hosung.seo on Aug 30, 2009 10:42 PM
Edited by: hosung.seo on Aug 30, 2009 10:50 PM