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 thisHtmlProducer
can handle the given resource or not.- Parameters:
resourceName
- the name of the resource to check- Returns:
true
if the resource can be handled,false
otherwise
-