// absolute from the classpath
URL url = FindResources.class.getResource("/mypackage/foo.txt");
// relative to the class location
url = FindResources.class.getResource("foo.txt");
// another relative document
url = FindResources.class.getResource("docs/bar.txt");