Class ThreatXlsxOutputStream

java.lang.Object
java.io.OutputStream
be.kuleuven.cs.distrinet.sparta.io.ThreatOutputStream
be.kuleuven.cs.distrinet.sparta.io.ThreatXlsxOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class ThreatXlsxOutputStream extends ThreatOutputStream
Outputstream to support directly writing threats to an xlsx file (e.g., FileOutputStream). This class takes care of all the conversion necessary to write out an xlsx file. Users are discouraged to directly write anything other than write(Threat) or ThreatOutputStream.write(Threat...) as the other operations could interfere with the file format.