Package opennlp.uima.util

## Class AbstractModelResource<T>

- java.lang.Object
- - opennlp.uima.util.AbstractModelResource<T>

- Type Parameters:
    `T` - The generic type to handle as a shared resource.
  All Implemented Interfaces:
    `org.apache.uima.resource.SharedResourceObject`
  Direct Known Subclasses:
    `ChunkerModelResourceImpl`, `DictionaryResourceImpl`, `DoccatModelResourceImpl`, `ParserModelResourceImpl`, `POSModelResourceImpl`, `SentenceModelResourceImpl`, `TokenizerModelResourceImpl`, `TokenNameFinderModelResourceImpl`

      public abstract class AbstractModelResource<T>
      extends Object
      implements org.apache.uima.resource.SharedResourceObject

  Base class provides access to a shared `resource`, eg. a model or dictionary.
  See Also:
    `SharedResourceObject`

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AbstractModelResource()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `load​(org.apache.uima.resource.DataResource resource)` |

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractModelResource

          public AbstractModelResource()

  - ### Method Detail

    - #### load

          public void load​(org.apache.uima.resource.DataResource resource)
                    throws org.apache.uima.resource.ResourceInitializationException

      Specified by:
        `load` in interface `org.apache.uima.resource.SharedResourceObject`
      Throws:
        `org.apache.uima.resource.ResourceInitializationException`