Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is there any native method for converting String value to Hungarian notat..

807580Aug 31 2009 — edited Sep 2 2009
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2009
Added on Aug 31 2009
20 comments
434 views