Class StaticTemplate

java.lang.Object
be.kuleuven.cs.distrinet.sparta.io.templates.Template<Object>
be.kuleuven.cs.distrinet.sparta.io.templates.StaticTemplate

public class StaticTemplate extends Template<Object>
A template without placeholders: instantiating it returns the resource text verbatim. Replaces the former ReportTemplate, IntroductionTemplate, DescriptionTemplate and ThreatCatalog classes, which only differed in the resource name.
  • Constructor Details

    • StaticTemplate

      public StaticTemplate(String filename)
  • Method Details