public class UimaDescriptionUtils extends Object
| Constructor and Description |
|---|
UimaDescriptionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.uima.resource.metadata.Import |
createByLocationImport(org.eclipse.core.resources.IFile parentFile,
String location) |
static org.apache.uima.resource.metadata.Import |
createByNameImport(String fileName,
org.apache.uima.resource.ResourceManager rm) |
static String |
extractDirectory(org.eclipse.core.resources.IFile file) |
static String |
getDescriptorFromImport(org.apache.uima.resource.metadata.Import imp) |
static String |
getDescriptorRelativePath(String sParentFileFullPath,
String aFullOrRelativePath) |
static org.apache.uima.util.XMLizable |
parseDescriptor(org.apache.uima.util.XMLInputSource input) |
public static org.apache.uima.util.XMLizable parseDescriptor(org.apache.uima.util.XMLInputSource input)
throws org.apache.uima.util.InvalidXMLException
org.apache.uima.util.InvalidXMLExceptionpublic static org.apache.uima.resource.metadata.Import createByLocationImport(org.eclipse.core.resources.IFile parentFile,
String location)
throws MalformedURLException
location - MalformedURLExceptionpublic static org.apache.uima.resource.metadata.Import createByNameImport(String fileName, org.apache.uima.resource.ResourceManager rm)
public static String getDescriptorFromImport(org.apache.uima.resource.metadata.Import imp)
public static String extractDirectory(org.eclipse.core.resources.IFile file)
Copyright © 2006–2013 The Apache Software Foundation. All rights reserved.