Class ReportWriter
java.lang.Object
be.kuleuven.cs.distrinet.sparta.io.ReportWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidoutput(BufferedWriter fw, String format) voidperformExport(File path, ResourceSet model, List<? extends Threat> threats) Generate the LaTeX report underpath.voidvoid
-
Constructor Details
-
ReportWriter
public ReportWriter()
-
-
Method Details
-
performExport
public void performExport(File path, ResourceSet model, List<? extends Threat> threats) throws IOException Generate the LaTeX report underpath.- Throws:
IOException- if any part of the export fails. The export aborts on the first failure rather than writing to an already-failed stream, and the exception is propagated so callers can surface it to the user instead of producing a silently partial report.
-
writeDescriptionToFile
- Throws:
IOException
-
writeThreatCatalogToFile
- Throws:
IOException
-
output
- Throws:
IOException
-