protected Config getConfig ( String packagePath ) { Config c = _configs . get ( packagePath ) ; if ( c == null ) { Properties props = new Properties ( ) ; String propFilename = packagePath + Sounds . PROP_NAME + ".properties" ; try { props = ConfigUtil . loadInheritedProperties ( propFilename , _rmgr . getClassLoader ( ) ) ; } catch ( IOException ioe ) { log . warning ( "Failed to load sound properties" , "filename" , propFilename , ioe ) ; } c = new Config ( props ) ; _configs . put ( packagePath , c ) ; } return c ; }
Get the cached Config .