public interface Importer
Book
.Modifier and Type | Method and Description |
---|---|
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
|
Book imports(InputStream is, String bookName) throws IOException
is
- the input streambookName
- the book name for imported bookIOException
Book imports(File file, String bookName) throws IOException
file
- the filebookName
- the book name for imported bookIOException
Book imports(URL url, String bookName) throws IOException
url
- the urlbookName
- the book name for imported bookIOException
Book imports(InputStream is, String bookName, PostImport postImport) throws IOException
is
- the input streambookName
- the book name for imported bookpostImport
- Object to do post processing after book is imported.IOException
PostImport
Book imports(File file, String bookName, PostImport postImport) throws IOException
file
- the filebookName
- the book name for imported bookpostImport
- Object to do post processing after book is imported.IOException
PostImport
Book imports(URL url, String bookName, PostImport postImport) throws IOException
url
- the urlbookName
- the book name for imported bookpostImport
- Object to do post processing after book is imported.IOException
PostImport
Copyright © 2020. All rights reserved.