public class ResourceSpecifierFactory extends Object
Constructor and Description |
---|
ResourceSpecifierFactory() |
Modifier and Type | Method and Description |
---|---|
static org.apache.uima.resource.ResourceSpecifier |
createResourceSpecifier(File descFile)
Return a ResourceSpecifier from a File object provided.
|
static org.apache.uima.resource.ResourceSpecifier |
createResourceSpecifier(String descPath)
Create a ResourceSpecifier from the path to a Descriptor File.
|
static org.apache.uima.resource.ResourceSpecifier |
createResourceSpecifier(URL descURL)
Create a ResourceSpecifier from a URL which points to a Descriptor File.
|
public static org.apache.uima.resource.ResourceSpecifier createResourceSpecifier(URL descURL) throws org.apache.uima.util.InvalidXMLException, IOException
descURL
- The descriptor URL to be parsed into a ResourceSpecifierIOException
- if the descriptor cannot created.org.apache.uima.util.InvalidXMLException
- if there is a problem creating the xml.public static org.apache.uima.resource.ResourceSpecifier createResourceSpecifier(String descPath) throws IOException, org.apache.uima.util.InvalidXMLException
descPath
- String path to a descriptor file.IOException
- if the descriptor cannot created.org.apache.uima.util.InvalidXMLException
- if there is a problem creating the xml.public static org.apache.uima.resource.ResourceSpecifier createResourceSpecifier(File descFile) throws IOException, org.apache.uima.util.InvalidXMLException
descFile
- Descriptor File objectIOException
- if the descriptor cannot created.org.apache.uima.util.InvalidXMLException
- if there is a problem creating the xml.Copyright © 2018 Department of Veterans Affairs. All Rights Reserved.