public class MetaDataObjectFactory extends Object
Constructor and Description |
---|
MetaDataObjectFactory() |
Modifier and Type | Method and Description |
---|---|
static org.apache.uima.resource.metadata.MetaDataObject |
createMetaDataObject(File descFile)
Return a ResourceSpecifier from a File object provided.
|
static org.apache.uima.resource.metadata.MetaDataObject |
createMetaDataObject(String descPath)
Create a MetaDataObject from the path to a Descriptor File.
|
static org.apache.uima.resource.metadata.MetaDataObject |
createMetaDataObject(URL descURL)
Create a TypeSystemDescription from a URL which points to a Descriptor File.
|
public static org.apache.uima.resource.metadata.MetaDataObject createMetaDataObject(URL descURL) throws IOException, org.apache.uima.util.InvalidXMLException
descURL
- The descriptor URL to be parsed into a MetaDataObjectIOException
- if the descriptor cannot created.org.apache.uima.util.InvalidXMLException
- if there is a problem creating the xml.public static org.apache.uima.resource.metadata.MetaDataObject createMetaDataObject(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.metadata.MetaDataObject createMetaDataObject(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.