public class ImporterImpl extends Object implements Importer, Serializable
| Constructor and Description |
|---|
ImporterImpl(SImporter importer) |
| Modifier and Type | Method and Description |
|---|---|
SImporter |
getNative() |
Book |
imports(File file,
String bookName)
Import book from a file
|
Book |
imports(File file,
String bookName,
PostImport postImport)
Import book from a file
|
Book |
imports(InputStream is,
String bookName)
Import book from a input stream
|
Book |
imports(InputStream is,
String bookName,
PostImport postImport)
Import book from a input stream
|
Book |
imports(URL url,
String bookName)
Import book from a URL
|
Book |
imports(URL url,
String bookName,
PostImport postImport)
Import book from a URL
|
public ImporterImpl(SImporter importer)
public Book imports(InputStream is, String bookName) throws IOException
Importerimports in interface Importeris - the input streambookName - the book name for imported bookIOExceptionpublic Book imports(InputStream is, String bookName, PostImport postImport) throws IOException
Importerimports in interface Importeris - the input streambookName - the book name for imported bookpostImport - Object to do post processing after book is imported.IOExceptionPostImportpublic SImporter getNative()
public Book imports(File file, String bookName) throws IOException
Importerimports in interface Importerfile - the filebookName - the book name for imported bookIOExceptionpublic Book imports(File file, String bookName, PostImport postImport) throws IOException
Importerimports in interface Importerfile - the filebookName - the book name for imported bookpostImport - Object to do post processing after book is imported.IOExceptionPostImportpublic Book imports(URL url, String bookName) throws IOException
Importerimports in interface Importerurl - the urlbookName - the book name for imported bookIOExceptionpublic Book imports(URL url, String bookName, PostImport postImport) throws IOException
Importerimports in interface Importerurl - the urlbookName - the book name for imported bookpostImport - Object to do post processing after book is imported.IOExceptionPostImportCopyright © 2020. All rights reserved.