Overview   Class List   Class Hierarchy   Class Members   Functions & Constants   Defines   Header Files  

uima::FileResource Class Reference

Inherits uima::ResourceABase.

Inherited by uima::internal::ResourceAnnotatorFile, and uima::LanguageKindFileResource.

List of all members.


Detailed Description

File resources are resources of the form "key.kind" (e.g.

en.twf, itusum.dll). Call resolveFilename() in the init() method to set the protected member iv_fileName to this name.


Public Member Functions

util::Filename const & getFilename () const
icu::UnicodeString const & getKey () const
icu::UnicodeString const & getKind () const

Protected Member Functions

virtual ~FileResource ()
virtual void resolveFilename ()
 construct the filename of the resource.
 FileResource (icu::UnicodeString const &crKey, icu::UnicodeString const &crKind)
void setNewKey (icu::UnicodeString const &)
virtual void init (ErrorInfo &)=0
virtual void deInit ()=0

Protected Attributes

util::Filename iv_fileName


Constructor & Destructor Documentation

virtual uima::FileResource::~FileResource  )  [protected, virtual]
 

uima::FileResource::FileResource icu::UnicodeString const &  crKey,
icu::UnicodeString const &  crKind
[protected]
 


Member Function Documentation

util::Filename const& uima::FileResource::getFilename  )  const [inline]
 

virtual void uima::FileResource::resolveFilename  )  [protected, virtual]
 

construct the filename of the resource.

and set iv_fileName accordingly. Can be used in init() of subclass. default implementation assumes that the filename is "key.kind" Note: No data path is prepended to the file name.

Reimplemented in uima::LanguageKindFileResource.

icu::UnicodeString const& uima::ResourceABase::getKey  )  const [inline, inherited]
 

icu::UnicodeString const& uima::ResourceABase::getKind  )  const [inline, inherited]
 

void uima::ResourceABase::setNewKey icu::UnicodeString const &   )  [protected, inherited]
 

virtual void uima::ResourceABase::init ErrorInfo  )  [protected, pure virtual, inherited]
 

Implemented in uima::internal::ResourceAnnotatorFile.

virtual void uima::ResourceABase::deInit  )  [protected, pure virtual, inherited]
 

Implemented in uima::internal::ResourceAnnotatorFile.


Member Data Documentation

util::Filename uima::FileResource::iv_fileName [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Oct 1 16:04:13 2012 for UIMACPP API by  doxygen 1.3.9.1