public abstract class AbstractModelResource<T> extends Object implements org.apache.uima.resource.SharedResourceObject
| Constructor and Description |
|---|
AbstractModelResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
load(org.apache.uima.resource.DataResource resource) |
protected abstract T |
loadModel(InputStream in) |
protected T model
protected abstract T loadModel(InputStream in) throws IOException
IOExceptionpublic void load(org.apache.uima.resource.DataResource resource)
throws org.apache.uima.resource.ResourceInitializationException
load in interface org.apache.uima.resource.SharedResourceObjectorg.apache.uima.resource.ResourceInitializationExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.