public static class CacheResourcesManager.ResourceToDeploy extends Object
Constructor and Description |
---|
ResourceToDeploy(String resourceURI,
String resourceFromClasspath) |
ResourceToDeploy(URI resourceURI,
String resourceFromClasspath) |
Modifier and Type | Method and Description |
---|---|
Path |
getDeployedPath() |
String |
getResourceFromClasspath() |
public ResourceToDeploy(String resourceURI, String resourceFromClasspath)
resourceURI
- - used to compute the path to deploy the
resource to in the lemminx cache. Generally this
is the URL to the resource. Ex.
https://www.w3.org/2007/schema-for-xslt20.xsdresourceFromClasspath
- - the classpath location of the resource to
deploy to the lemminx cachepublic ResourceToDeploy(URI resourceURI, String resourceFromClasspath)
resourceURI
- - used to compute the path to deploy the
resource to in the lemminx cache. Generally this
is the URL to the resource. Ex.
https://www.w3.org/2007/schema-for-xslt20.xsdresourceFromClasspath
- - the classpath location of the resource to
deploy to the lemminx cachepublic Path getDeployedPath() throws IOException
IOException
public String getResourceFromClasspath()
Copyright © 2020. All rights reserved.