Class URIResolver

  • All Implemented Interfaces:
    AutoCloseable

    public class URIResolver
    extends Object
    implements AutoCloseable
    Resolves a File, classpath resource, or URL according to the follow rules:
    • Check to see if a file exists, relative to the base URI.
    • If the file doesn't exist, check the classpath
    • If the classpath doesn't exist, try to create URL from the URI.