Package org.eclipse.lemminx.uriresolver
Class CacheResourcesManager.ResourceToDeploy
java.lang.Object
org.eclipse.lemminx.uriresolver.CacheResourcesManager.ResourceToDeploy
- Enclosing class:
- CacheResourcesManager
Classpath resource to deploy into the lemminx cache
-
Constructor Summary
ConstructorsConstructorDescriptionResourceToDeploy(String resourceURI, String resourceFromClasspath) ResourceToDeploy(URI resourceURI, String resourceFromClasspath) -
Method Summary
-
Constructor Details
-
ResourceToDeploy
- Parameters:
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 cache
-
ResourceToDeploy
- Parameters:
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 cache
-
-
Method Details
-
getDeployedPath
- Returns:
- The computed path in the lemmix cache that the resource will be stored at
- Throws:
IOException
-
getResourceFromClasspath
- Returns:
- The path to the resource on the classpath
-