public URL getResourceAsUrl(String name) {
        return this.getClass().getResource(name);
    }
Finds a resource with a given name.

@param name name of the desired resource
@return A {@link java.net.URL} object or null
tika-core/src/test/java/org/apache/tika/TikaTest.java