Package be.kuleuven.cs.distrinet.sparta.io
package be.kuleuven.cs.distrinet.sparta.io
The
be.kuleuven.cs.distrinet.sparta.io package contains all the
supporting classes for writing collections of threats to various export
formats.-
ClassesClassDescriptionA
ThreatWriterto export one or more threats to a csv file.The column sets shared by the tabular threat exports (ThreatCSVWriter,ThreatXlsxOutputStream, ...), so that the CSV and XLSX exports have equivalent content.ThreatJsonWriter<T extends IThreat>WritesThreats to a character-output stream.Export formatting of a threat's context, used as extra export columns, seeThreatExportColumns.withMetadata().As not all output files are text-based (for example, xlsx),ThreatOutputStreamenables the use ofOutputStreamto export information on elicitedThreats.Simple textwriter for outputing threats to a set of text files.WritesThreats to a character-output stream.Outputstream to support directly writing threats to an xlsx file (e.g.,FileOutputStream).