Package io.keikai.api.impl
Class ImporterImpl
java.lang.Object
io.keikai.api.impl.ImporterImpl
- All Implemented Interfaces:
Importer,Serializable
- Since:
- 3.0.0
- Author:
- dennis
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionImport book from a fileimports(File file, String bookName, PostImport postImport) Import book from a fileimports(InputStream is, String bookName) Import book from a input streamimports(InputStream is, String bookName, PostImport postImport) Import book from a input streamImport book from a URLimports(URL url, String bookName, PostImport postImport) Import book from a URL
-
Constructor Details
-
ImporterImpl
-
-
Method Details
-
imports
Description copied from interface:ImporterImport book from a input stream- Specified by:
importsin interfaceImporter- Parameters:
is- the input streambookName- the book name for imported book- Returns:
- the book instance
- Throws:
IOException
-
imports
Description copied from interface:ImporterImport book from a input stream- Specified by:
importsin interfaceImporter- Parameters:
is- the input streambookName- the book name for imported bookpostImport- Object to do post processing after book is imported.- Returns:
- the book instance
- Throws:
IOException- See Also:
-
getNative
-
imports
Description copied from interface:ImporterImport book from a file- Specified by:
importsin interfaceImporter- Parameters:
file- the filebookName- the book name for imported book- Returns:
- the book instance
- Throws:
IOException
-
imports
Description copied from interface:ImporterImport book from a file- Specified by:
importsin interfaceImporter- Parameters:
file- the filebookName- the book name for imported bookpostImport- Object to do post processing after book is imported.- Returns:
- the book instance
- Throws:
IOException- See Also:
-
imports
Description copied from interface:ImporterImport book from a URL- Specified by:
importsin interfaceImporter- Parameters:
url- the urlbookName- the book name for imported book- Returns:
- the book instance
- Throws:
IOException
-
imports
Description copied from interface:ImporterImport book from a URL- Specified by:
importsin interfaceImporter- Parameters:
url- the urlbookName- the book name for imported bookpostImport- Object to do post processing after book is imported.- Returns:
- the book instance
- Throws:
IOException- See Also:
-