* @throws IOException
* if the descriptor could not be read
*/
public static CollectionReader createReader(String descriptorName,
Object... configurationData) throws UIMAException, IOException {
Import imp = UIMAFramework.getResourceSpecifierFactory().createImport();
imp.setName(descriptorName);
URL url = imp.findAbsoluteUrl(UIMAFramework.newDefaultResourceManager());
ResourceSpecifier specifier = createResourceCreationSpecifier(url, configurationData);
return UIMAFramework.produceCollectionReader(specifier,
ResourceManagerFactory.newResourceManager(), null);
}