Class VelocityExporter.VelocityFormat

  • All Implemented Interfaces:
    IOFormat
    Enclosing class:
    VelocityExporter

    public class VelocityExporter.VelocityFormat
    extends java.lang.Object
    implements IOFormat
    Hilfsklase, die das IOFormat implementiert.
    • Constructor Summary

      Constructors 
      Constructor Description
      VelocityFormat​(java.lang.String extension, java.lang.String variant, java.io.File f)
      ct.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] getFileExtensions()
      Liefert die Datei-Endungen des Formats.
      java.lang.String getName()
      Liefert einen sprechenden Namen fuer das Datei-Format.
      java.io.File getTemplate()
      Liefert das Template-File.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VelocityFormat

        public VelocityFormat​(java.lang.String extension,
                              java.lang.String variant,
                              java.io.File f)
        ct.
        Parameters:
        extension - die Datei-Endung.
        variant - optionaler Prefix fuer eine Variation.
        f - das Template.
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: IOFormat
        Liefert einen sprechenden Namen fuer das Datei-Format. Zum Beispiel "CSV-Datei"
        Specified by:
        getName in interface IOFormat
        Returns:
        Sprechender Name des Datei-Formats.
        See Also:
        IOFormat.getName()
      • getFileExtensions

        public java.lang.String[] getFileExtensions()
        Description copied from interface: IOFormat
        Liefert die Datei-Endungen des Formats. Zum Beispiel "*.csv" oder "*.txt".
        Specified by:
        getFileExtensions in interface IOFormat
        Returns:
        Datei-Endung.
        See Also:
        IOFormat.getFileExtensions()
      • getTemplate

        public java.io.File getTemplate()
        Liefert das Template-File.
        Returns:
        Template-File.