public class DescriptorUtils extends Object
| Constructor and Description |
|---|
DescriptorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
getDescRoots() |
static Map<URI,org.apache.uima.resource.ResourceSpecifier> |
searchDescriptor(File artifact)
Searches the
artifact for all descriptor files ending in .xml and residing directly in ../desc/. |
static org.apache.uima.resource.ResourceSpecifier |
searchDescriptor(File artifactPath,
String descLocation)
Searches the
artifact for a descriptor that is given by descLocation. |
public static Map<URI,org.apache.uima.resource.ResourceSpecifier> searchDescriptor(File artifact) throws IOException
artifact for all descriptor files ending in .xml and residing directly in ../desc/.artifact - IOExceptionpublic static org.apache.uima.resource.ResourceSpecifier searchDescriptor(File artifactPath, String descLocation) throws IOException
artifact for a descriptor that is given by descLocation.artifactPath - descLocation - IOExceptionCopyright © 2019 JULIE Lab, Germany. All rights reserved.