org.apache.uima.tutorial.ex6
Class StringMapResource_impl

java.lang.Object
  extended by org.apache.uima.tutorial.ex6.StringMapResource_impl
All Implemented Interfaces:
SharedResourceObject, StringMapResource

public class StringMapResource_impl
extends java.lang.Object
implements StringMapResource, SharedResourceObject


Constructor Summary
StringMapResource_impl()
           
 
Method Summary
 java.lang.String get(java.lang.String aKey)
           
 void load(DataResource aData)
          Called by the ResourceManager after this object has been instantiated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringMapResource_impl

public StringMapResource_impl()
Method Detail

load

public void load(DataResource aData)
          throws ResourceInitializationException
Description copied from interface: SharedResourceObject
Called by the ResourceManager after this object has been instantiated. The implementation of this method should read the data from the specified DataResource and use that data to initialize this object.

Specified by:
load in interface SharedResourceObject
Parameters:
aData - a DataResource that provides access to the data for this resource object.
Throws:
ResourceInitializationException - if a failure occurs during loading.
See Also:
SharedResourceObject.load(DataResource)

get

public java.lang.String get(java.lang.String aKey)
Specified by:
get in interface StringMapResource
See Also:
StringMapResource.get(String)


Copyright © 2011. All Rights Reserved.