public class SImporters extends Object
Constructor and Description |
---|
SImporters() |
Modifier and Type | Method and Description |
---|---|
static SImporter |
getImporter()
Get the default importer which is excel format, and it is smart enough to recognize the format(xls or xlsx)
|
static SImporter |
getImporter(String name)
Get the registered importer
|
static void |
register(String name,
SImporterFactory factory)
Register a importer factory by its name which is also used to get it back.
|
public static final SImporter getImporter()
public static final SImporter getImporter(String name)
name
- public static final void register(String name, SImporterFactory factory)
name
- name of the importer factory which is used to get itfactory
- the importer factory you want to registerCopyright © 2020. All rights reserved.