org.apache.ctakes.core.resource
Class StringMapResourceImpl
java.lang.Object
org.apache.ctakes.core.resource.StringMapResourceImpl
- All Implemented Interfaces:
- StringMapResource, org.apache.uima.resource.SharedResourceObject
public class StringMapResourceImpl
- extends java.lang.Object
- implements StringMapResource, org.apache.uima.resource.SharedResourceObject
Implementation for StringIntegerMapResource interface.
- Author:
- Mayo Clinic
Field Summary |
(package private) java.util.Map<java.lang.String,java.lang.String> |
iv_map
|
Method Summary |
java.util.Map |
getMap()
Gets a map of the String/Integer values. |
void |
load(org.apache.uima.resource.DataResource dr)
Loads data from a file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iv_map
java.util.Map<java.lang.String,java.lang.String> iv_map
StringMapResourceImpl
public StringMapResourceImpl()
load
public void load(org.apache.uima.resource.DataResource dr)
throws org.apache.uima.resource.ResourceInitializationException
- Loads data from a file.
- Specified by:
load
in interface org.apache.uima.resource.SharedResourceObject
- Throws:
org.apache.uima.resource.ResourceInitializationException
getMap
public java.util.Map getMap()
- Gets a map of the String/Integer values.
- Specified by:
getMap
in interface StringMapResource
- Returns: