ResourceAnnotatorFile
is used to maintain a Annotator file resource. Public Member Functions | |
util::Filename const & | getFilename () const |
icu::UnicodeString const & | getKey () const |
icu::UnicodeString const & | getKind () const |
Constructors | |
ResourceAnnotatorFile (icu::UnicodeString const &crKey, icu::UnicodeString const &crKind) | |
Properties | |
util::DllProcLoaderFile * | getAnnotatorFile (void) const |
Return the pointer to the annotator file class. | |
Protected Member Functions | |
virtual void | resolveFilename () |
construct the filename of the resource. | |
void | setNewKey (icu::UnicodeString const &) |
Miscellaneous | |
virtual void | init (ErrorInfo &) |
Method will be called by resource manager for initialization. | |
virtual void | deInit (void) |
Method will be called by resource manager for de-initialization. | |
Protected Attributes | |
util::Filename | iv_fileName |
uima::internal::ResourceAnnotatorFile::ResourceAnnotatorFile | ( | icu::UnicodeString const & | crKey, | |
icu::UnicodeString const & | crKind | |||
) | [inline] |
util::DllProcLoaderFile* uima::internal::ResourceAnnotatorFile::getAnnotatorFile | ( | void | ) | const [inline] |
Return the pointer to the annotator file class.
internal::AnnotatorFile
virtual void uima::internal::ResourceAnnotatorFile::init | ( | ErrorInfo & | ) | [protected, virtual] |
virtual void uima::internal::ResourceAnnotatorFile::deInit | ( | void | ) | [protected, virtual] |
util::Filename const& uima::FileResource::getFilename | ( | void | ) | const [inline, inherited] |
virtual void uima::FileResource::resolveFilename | ( | ) | [protected, virtual, inherited] |
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] |
util::Filename uima::FileResource::iv_fileName [protected, inherited] |