protected final String toJavaResourceName ( String bundleName , Locale locale ) { String fullName = bundleName ; final String localeName = toLocaleStr ( locale ) ; final String suffix = "properties" ; if ( ! "" . equals ( localeName ) ) fullName = fullName + "_" + localeName ; StringBuilder sb = new StringBuilder ( fullName . length ( ) + 1 + suffix . length ( ) ) ; sb . append ( fullName . replace ( ' ' , ' ' ) ) . append ( ' ' ) . append ( suffix ) ; return sb . toString ( ) ; }
java properties bundle name