Package org.nuxeo.common.xmap
Class Resource
java.lang.Object
org.nuxeo.common.xmap.Resource
A resource that can be retrieved using the class loader.
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.
- Author:
- Bogdan Stefanescu
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Resource
-
Resource
-
-
Method Details
-
toURL
-
toURI
- Throws:
URISyntaxException
-
toFile
- Throws:
URISyntaxException
-