Package io.keikai.range.impl.imexp
Class AbstractImporter
- java.lang.Object
-
- io.keikai.range.impl.imexp.AbstractImporter
-
- All Implemented Interfaces:
SImporter
- Direct Known Subclasses:
AbstractExcelImporter,ExcelImportAdapter,XlsxImporter
public abstract class AbstractImporter extends java.lang.Object implements SImporter
- Since:
- 3.5.0
- Author:
- Hawk
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean_importCachestatic java.lang.StringBOOK_TYPE_KEYbook type key for book attribute
-
Constructor Summary
Constructors Constructor Description AbstractImporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SBookimports(java.io.File file, java.lang.String bookName)Import book from a fileSBookimports(java.net.URL url, java.lang.String bookName)Import book from a URLprotected booleanisImportCache()Returns if import file cached value.voidsetImportCache(boolean b)Set if import Excel cached value.
-
-
-
Method Detail
-
imports
public SBook imports(java.io.File file, java.lang.String bookName) throws java.io.IOException
Description copied from interface:SImporterImport book from a file
-
imports
public SBook imports(java.net.URL url, java.lang.String bookName) throws java.io.IOException
Description copied from interface:SImporterImport book from a URL
-
setImportCache
public void setImportCache(boolean b)
Set if import Excel cached value.- Since:
- 3.7.0
-
isImportCache
protected boolean isImportCache()
Returns if import file cached value.- Since:
- 3.7.0
-
-