Class SExporters


  • public class SExporters
    extends Object
    A class that you can get an exporter by registered name and register an exporter.
    Author:
    dennis
    • Constructor Detail

      • SExporters

        public SExporters()
    • Method Detail

      • getExporter

        public static final SExporter getExporter()
        Gets the default exporter, which is excel xlsx format
        Returns:
      • getExporter

        public static final SExporter getExporter​(String name)
        Gets the registered exporter by name
        Parameters:
        name - the exporter name
      • register

        public static final void register​(String name,
                                          SExporterFactory factory)
        Register a exporter factory
        Parameters:
        name - the name
        factory - the exporter factory