Class SImporters

java.lang.Object
io.keikai.range.SImporters

public class SImporters extends Object
This class contains utility methods to register the importer factory and get a importer by registered name.
Since:
3.5.0
Author:
dennis
  • Constructor Details

    • SImporters

      public SImporters()
  • Method Details

    • getImporter

      public static final SImporter getImporter()
      Get the default importer which is excel format, and it is smart enough to recognize the format(xls or xlsx)
      Returns:
    • getImporter

      public static final SImporter getImporter(String name)
      Get the registered importer
      Parameters:
      name -
      Returns:
    • register

      public static final void register(String name, SImporterFactory factory)
      Register a importer factory by its name which is also used to get it back.
      Parameters:
      name - name of the importer factory which is used to get it
      factory - the importer factory you want to register