Inherited by uima::internal::ResourceAnnotatorFile, and uima::LanguageKindFileResource.
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 |
virtual uima::FileResource::~FileResource | ( | ) | [protected, virtual] |
uima::FileResource::FileResource | ( | icu::UnicodeString const & | crKey, | |
icu::UnicodeString const & | crKind | |||
) | [protected] |
util::Filename const& uima::FileResource::getFilename | ( | void | ) | 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.
util::Filename uima::FileResource::iv_fileName [protected] |