Interface HtmlProducer
- All Known Implementing Classes:
Markdown4jHtmlProducer
public interface HtmlProducer
A producer of HTML.
- Author:
- RealLifeDeveloper
-
Method Summary
-
Method Details
-
produce
Produces HTML from the named resource on classpath.- Parameters:
resourceName- the name of the resource to convert to HTML- Returns:
- the HTML produced
- Throws:
IOException- if converting the resource failed
-
canHandle
Shows if thisHtmlProducercan handle the given resource or not.- Parameters:
resourceName- the name of the resource to check- Returns:
trueif the resource can be handled,falseotherwise
-