public Character getCharacter ( Class < ? > aClass , String key , char defaultValue ) { String results = getText ( aClass , key , "" ) ; if ( results . length ( ) == 0 ) return Character . valueOf ( defaultValue ) ; else return Character . valueOf ( results . charAt ( 0 ) ) ; //return first character }
Get a Settings property as an c object .