private final List getPrivateResource ( final String name ) { try { final Object to = this . resourcesMap . get ( name ) ; final List list = new ArrayList ( ) ; if ( to instanceof URL ) { list . add ( ( URL ) to ) ; return list ; } else if ( to instanceof List ) { final List l = ( List ) to ; for ( int i = 0 ; i < l . size ( ) ; i ++ ) { list . add ( ( URL ) l . get ( i ) ) ; } return list ; } else { return null ; } } finally { try { } catch ( final Exception ignore ) { } } }
get the resource with the given name