Package io.quarkus.bom.decomposer
Class FileReportWriter
- java.lang.Object
-
- io.quarkus.bom.decomposer.FileReportWriter
-
- Direct Known Subclasses:
DecomposedBomReportFileWriter,HtmlBomDiffReportGenerator
public class FileReportWriter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected PathreportFile
-
Constructor Summary
Constructors Constructor Description FileReportWriter(String name)FileReportWriter(Path p)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappend(Object line)protected StringBuilderbuf()protected voidclose()protected voidcloseTag(String name)protected voidemptyTag(String name)protected StringgenerateAnchor(String url, String text)protected voidindentChars(int indentChars)protected BufferedWriterinitWriter()protected booleanisClosed()protected voidnewLine()protected voidoffset()protected voidoffsetLine(String line)protected voidopenTag(String name)protected voidopenTag(String name, String style)protected voidwriteAnchor(String url, String text)protected voidwriteLine(Object line)protected BufferedWriterwriter()protected voidwriteTag(String name, Object value)protected voidwriteTag(String name, String style, Object value)
-
-
-
Field Detail
-
reportFile
protected final Path reportFile
-
-
Method Detail
-
isClosed
protected boolean isClosed()
-
indentChars
protected void indentChars(int indentChars)
-
initWriter
protected BufferedWriter initWriter() throws IOException
- Throws:
IOException
-
writer
protected BufferedWriter writer() throws IOException
- Throws:
IOException
-
writeLine
protected void writeLine(Object line) throws IOException
- Throws:
IOException
-
newLine
protected void newLine() throws IOException- Throws:
IOException
-
append
protected void append(Object line) throws IOException
- Throws:
IOException
-
buf
protected StringBuilder buf()
-
writeTag
protected void writeTag(String name, Object value) throws IOException
- Throws:
IOException
-
writeTag
protected void writeTag(String name, String style, Object value) throws IOException
- Throws:
IOException
-
writeAnchor
protected void writeAnchor(String url, String text) throws IOException
- Throws:
IOException
-
openTag
protected void openTag(String name) throws IOException
- Throws:
IOException
-
openTag
protected void openTag(String name, String style) throws IOException
- Throws:
IOException
-
closeTag
protected void closeTag(String name) throws IOException
- Throws:
IOException
-
emptyTag
protected void emptyTag(String name) throws IOException
- Throws:
IOException
-
offsetLine
protected void offsetLine(String line) throws IOException
- Throws:
IOException
-
offset
protected void offset() throws IOException- Throws:
IOException
-
close
protected void close()
-
-