protected String[] getPaths (String pkgPath, String key)
    {

        String bundle = _loader.getBundle(pkgPath);
        Preconditions.checkNotNull(bundle,
            "Unable to find the bundle name for a package [package=%s, key=%s]", pkgPath, key);
        String[] names = _loader.getPaths(pkgPath, key);
        Preconditions.checkNotNull(names, "No such sound [package=%s, key=%s]", pkgPath, key);
        String[] paths = new String[names.length];
        for (int ii = 0; ii < paths.length; ii++) {
            paths[ii] = bundle + ":" + names[ii];
        }
        return paths;
    }
protected String [ ] getPaths ( String pkgPath , String key ) { String bundle = _loader . getBundle ( pkgPath ) ; Preconditions . checkNotNull ( bundle , "Unable to find the bundle name for a package [package=%s, key=%s]" , pkgPath , key ) ; String [ ] names = _loader . getPaths ( pkgPath , key ) ; Preconditions . checkNotNull ( names , "No such sound [package=%s, key=%s]" , pkgPath , key ) ; String [ ] paths = new String [ names . length ] ; for ( int ii = 0 ; ii < paths . length ; ii ++ ) { paths [ ii ] = bundle + ":" + names [ ii ] ; } return paths ; }
Returns bundle:path for all sounds under key in pkgPath.