Class OsgiTemplateResource
java.lang.Object
eu.rarogsoftware.rarog.platform.core.plugins.templates.OsgiTemplateResource
- All Implemented Interfaces:
org.thymeleaf.templateresource.ITemplateResource
class OsgiTemplateResource
extends Object
implements org.thymeleaf.templateresource.ITemplateResource
-
Constructor Summary
ConstructorsConstructorDescriptionOsgiTemplateResource(ResourceHoldingPlugin plugin, String resourceName, String characterEncoding) -
Method Summary
Modifier and TypeMethodDescription(package private) static StringcomputeBaseName(String path) (package private) static StringcomputeRelativeLocation(String location, String relativeLocation) booleanexists()reader()org.thymeleaf.templateresource.ITemplateResource
-
Constructor Details
-
OsgiTemplateResource
public OsgiTemplateResource(ResourceHoldingPlugin plugin, String resourceName, String characterEncoding)
-
-
Method Details
-
computeBaseName
-
computeRelativeLocation
-
getDescription
- Specified by:
getDescriptionin interfaceorg.thymeleaf.templateresource.ITemplateResource
-
getBaseName
- Specified by:
getBaseNamein interfaceorg.thymeleaf.templateresource.ITemplateResource
-
exists
public boolean exists()- Specified by:
existsin interfaceorg.thymeleaf.templateresource.ITemplateResource
-
reader
- Specified by:
readerin interfaceorg.thymeleaf.templateresource.ITemplateResource- Throws:
IOException
-
relative
- Specified by:
relativein interfaceorg.thymeleaf.templateresource.ITemplateResource
-