URL getResource(String name) Finds a resource with a given name. InputStream getResourceAsStream(String name) Finds a resource with a given name.