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 TypeMethodDescriptionvoidclose()private CharSequence(package private) ReportTypeThe report type for this writer.voidwriteDetail(MessageMethod messageMethod) Writes a detail line for the report.voidWrites the footer for the report.voidwriteHeader(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:ReportWriterWrites the header for the report.- Specified by:
writeHeaderin classReportWriter- Parameters:
title- the title of the header- Throws:
IOException- if an I/O error occurs
-
writeDetail
Description copied from class:ReportWriterWrites a detail line for the report.- Specified by:
writeDetailin 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:ReportWriterThe report type for this writer.- Specified by:
getReportTypein classReportWriter- Returns:
- the report type
-
escape
-