Package io.keikai.range
Interface SImporter
-
- All Known Implementing Classes:
AbstractExcelImporter
,AbstractImporter
,ExcelImportAdapter
,ExcelXlsImporter
,XlsxImporter
public interface SImporter
An 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 SBook
imports(File file, String bookName)
Import book from a fileSBook
imports(InputStream is, String bookName)
Import book from a input streamSBook
imports(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
-
-