fill the given properties from the given resource in iso-8859-1 encoding . concode_field_sep String XML_FILE_EXTENSION concode_field_sep Properties loadProperties concode_elem_sep Properties loadProperties concode_elem_sep Properties loadAllProperties concode_elem_sep Properties loadAllProperties
void function ( Properties arg0 , Resource arg1 ) { InputStream loc0 = arg1 . getInputStream ( ) ; try { String loc1 = arg1 . getFilename ( ) ; if ( loc1 != null && loc1 . endsWith ( XML_FILE_EXTENSION ) ) { arg0 . loadFromXML ( loc0 ) ; } else { arg0 . load ( loc0 ) ; } } finally { loc0 . close ( ) ; } }