Package io.keikai.range
Interface SImporter
-
- All Known Implementing Classes:
AbstractExcelImporter,AbstractImporter,ExcelImportAdapter,ExcelXlsImporter,XlsxImporter
public interface SImporterAn importer to import a input stream, file..etc to a new book- Since:
- 3.5.0
- Author:
- dennis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SBookimports(File file, String bookName)Import book from a fileSBookimports(InputStream is, String bookName)Import book from a input streamSBookimports(URL url, String bookName)Import book from a URL
-
-
-
Method Detail
-
imports
SBook imports(InputStream is, String bookName) throws IOException
Import book from a input stream- Parameters:
is- the input streambookName- the book name for imported book- Returns:
- the book instance
- Throws:
IOException
-
imports
SBook imports(File file, String bookName) throws IOException
Import book from a file- Parameters:
file- the filebookName- the book name for imported book- Returns:
- the book instance
- Throws:
IOException
-
imports
SBook imports(URL url, String bookName) throws IOException
Import book from a URL- Parameters:
url- the urlbookName- the book name for imported book- Returns:
- the book instance
- Throws:
IOException
-
-