private Object resolveObject ( String aKey , UResourceBundle requested ) { if ( getType ( ) == STRING ) { return getString ( ) ; } UResourceBundle obj = handleGet ( aKey , null , requested ) ; if ( obj != null ) { if ( obj . getType ( ) == STRING ) { return obj . getString ( ) ; } try { if ( obj . getType ( ) == ARRAY ) { return obj . handleGetStringArray ( ) ; } } catch ( UResourceTypeMismatchException ex ) { return obj ; } } return obj ; }
string or string array