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(java.io.File file, java.lang.String bookName)Import book from a fileSBookimports(java.io.InputStream is, java.lang.String bookName)Import book from a input streamSBookimports(java.net.URL url, java.lang.String bookName)Import book from a URL
-
-
-
Method Detail
-
imports
SBook imports(java.io.InputStream is, java.lang.String bookName) throws java.io.IOException
Import book from a input stream- Parameters:
is- the input streambookName- the book name for imported book- Returns:
- the book instance
- Throws:
java.io.IOException
-
imports
SBook imports(java.io.File file, java.lang.String bookName) throws java.io.IOException
Import book from a file- Parameters:
file- the filebookName- the book name for imported book- Returns:
- the book instance
- Throws:
java.io.IOException
-
imports
SBook imports(java.net.URL url, java.lang.String bookName) throws java.io.IOException
Import book from a URL- Parameters:
url- the urlbookName- the book name for imported book- Returns:
- the book instance
- Throws:
java.io.IOException
-
-