Class AsciidocReportWriter
java.lang.Object
org.jboss.logging.processor.apt.report.ReportWriter
org.jboss.logging.processor.apt.report.AsciidocReportWriter
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
FieldsFields inherited from class org.jboss.logging.processor.apt.report.ReportWriter
DEFAULT_ID, messageIdFormat, messageInterface
-
Constructor Summary
ConstructorsConstructorDescriptionAsciidocReportWriter
(MessageInterface messageInterface, BufferedWriter writer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private CharSequence
(package private) ReportType
The report type for this writer.void
writeDetail
(MessageMethod messageMethod) Writes a detail line for the report.void
Writes the footer for the report.void
writeHeader
(String title) Writes the header for the report.Methods inherited from class org.jboss.logging.processor.apt.report.ReportWriter
getLogLevel, getUrl, of
-
Field Details
-
writer
-
-
Constructor Details
-
AsciidocReportWriter
AsciidocReportWriter(MessageInterface messageInterface, BufferedWriter writer)
-
-
Method Details
-
writeHeader
Description copied from class:ReportWriter
Writes the header for the report.- Specified by:
writeHeader
in classReportWriter
- Parameters:
title
- the title of the header- Throws:
IOException
- if an I/O error occurs
-
writeDetail
Description copied from class:ReportWriter
Writes a detail line for the report.- Specified by:
writeDetail
in classReportWriter
- Parameters:
messageMethod
- the method to write the details for- Throws:
IOException
- if an I/O error occurs
-
close
- Throws:
IOException
-
getReportType
ReportType getReportType()Description copied from class:ReportWriter
The report type for this writer.- Specified by:
getReportType
in classReportWriter
- Returns:
- the report type
-
escape
-