Class SExporters


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

      Constructors 
      Constructor Description
      SExporters()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SExporter getExporter()
      Gets the default exporter, which is excel xlsx format
      static SExporter getExporter​(java.lang.String name)
      Gets the registered exporter by name
      static void register​(java.lang.String name, SExporterFactory factory)
      Register a exporter factory
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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​(java.lang.String name)
        Gets the registered exporter by name
        Parameters:
        name - the exporter name
      • register

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