public class Resource extends Object
This is wrapping an URL as returned by the class loader.
The URL class cannot be used directly because it already has a factory associated to it that constructs the URL using its constructor.
public URL toURL()
public URI toURI() throws URISyntaxException
public File toFile() throws URISyntaxException
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.