Class FileBasedTemplateProvider
java.lang.Object
org.ehrbase.openehr.sdk.webtemplate.templateprovider.FileBasedTemplateProvider
- All Implemented Interfaces:
TemplateProvider
Provides Template which are saved as OPT files in the file system.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ehrbase.openehr.sdk.webtemplate.templateprovider.TemplateProvider
buildIntrospect
-
Field Details
-
OPT_FILE_MATCHER
-
-
Constructor Details
-
FileBasedTemplateProvider
- Parameters:
templateDirectory- Path to folder with the OPT files. Every file with ending*.optwill be parsed.
-
-
Method Details
-
find
- Specified by:
findin interfaceTemplateProvider
-