Klasse FileProcessor

java.lang.Object
de.srsoftware.document.processor.FileProcessor
Alle implementierten Schnittstellen:
de.srsoftware.document.api.Document
Bekannte direkte Unterklassen:
DiaDoc, LatexDoc, WeasyDoc

public abstract class FileProcessor extends Object implements de.srsoftware.document.api.Document
abstract class for various file-based renderers
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    create a new instance
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected abstract List<String>
    provides the command used by the render process
    abstract List<de.srsoftware.document.api.Document>
    the list of precursor documents required for rendering this document
    de.srsoftware.document.api.RenderResult
     
    abstract String
    Provides the name of the software used with the processor instance
    the default timeout for the render process
     

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Von Schnittstelle geerbte Methoden de.srsoftware.document.api.Document

    description, id, mimeType, name
  • Konstruktordetails

    • FileProcessor

      public FileProcessor()
      create a new instance
  • Methodendetails

    • command

      protected abstract List<String> command(Map<String,Object> data)
      provides the command used by the render process
      Parameter:
      data - context for the command creation
      Gibt zurück:
      a list of strings composing the render command
    • precursors

      public abstract List<de.srsoftware.document.api.Document> precursors()
      the list of precursor documents required for rendering this document
      Gibt zurück:
      the list of precursor documents required for rendering this document
    • render

      public de.srsoftware.document.api.RenderResult render(Map<String,Object> data)
      Angegeben von:
      render in Schnittstelle de.srsoftware.document.api.Document
    • software

      public abstract String software()
      Provides the name of the software used with the processor instance
      Gibt zurück:
      a software string
    • timeout

      public Duration timeout()
      the default timeout for the render process
      Gibt zurück:
      a duration of 10 seconds
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object