protected String getI18n(final String aMessageKey, final Object... aObjArray) {
        final String[] strings = new String[aObjArray.length];

        for (int index = 0; index < aObjArray.length; index++) {
            if (aObjArray[index] instanceof File) {
                strings[index] = ((File) aObjArray[index]).getAbsolutePath();
            } else {
                strings[index] = aObjArray[index].toString();
            }
        }

        return StringUtils.normalizeWS(myBundle.get(aMessageKey, strings));
    }
protected String getI18n ( final String aMessageKey , final Object ... aObjArray ) { final String [ ] strings = new String [ aObjArray . length ] ; for ( int index = 0 ; index < aObjArray . length ; index ++ ) { if ( aObjArray [ index ] instanceof File ) { strings [ index ] = ( ( File ) aObjArray [ index ] ) . getAbsolutePath ( ) ; } else { strings [ index ] = aObjArray [ index ] . toString ( ) ; } } return StringUtils . normalizeWS ( myBundle . get ( aMessageKey , strings ) ) ; }
Gets the internationalized value for the supplied message key, using an object array as additional information.

@param aMessageKey A message key
@param aObjArray Additional details for the message
@return The internationalized message