Class RenderUtils
java.lang.Object
io.github.kelsoncm.fwf.renders.RenderUtils
Utility class to export layout specifications of a
FileDescriptor into Markdown, ReStructuredText (RST), and HTML tables.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidrenderAsHtml(FileDescriptor fileDescriptor, Writer out) Renders the layout specification of aFileDescriptoras HTML tables into aWriter.static voidrenderAsMarkdown(FileDescriptor fileDescriptor, Writer out) Renders the layout specification of aFileDescriptoras Markdown tables into aWriter.static voidrenderAsRst(FileDescriptor fileDescriptor, Writer out) Renders the layout specification of aFileDescriptoras ReStructuredText (RST) tables into aWriter.
-
Method Details
-
renderAsMarkdown
Renders the layout specification of aFileDescriptoras Markdown tables into aWriter.- Parameters:
fileDescriptor- the layout descriptor to renderout- destination writer- Throws:
IOException- if an I/O error occurs
-
renderAsRst
Renders the layout specification of aFileDescriptoras ReStructuredText (RST) tables into aWriter.- Parameters:
fileDescriptor- the layout descriptor to renderout- destination writer- Throws:
IOException- if an I/O error occurs
-
renderAsHtml
Renders the layout specification of aFileDescriptoras HTML tables into aWriter.- Parameters:
fileDescriptor- the layout descriptor to renderout- destination writer- Throws:
IOException- if an I/O error occurs
-