public interface SImporter
Modifier and Type | Method and Description |
---|---|
SBook |
imports(File file,
String bookName)
Import book from a file
|
SBook |
imports(InputStream is,
String bookName)
Import book from a input stream
|
SBook |
imports(URL url,
String bookName)
Import book from a URL
|
SBook imports(InputStream is, String bookName) throws IOException
is
- the input streambookName
- the book name for imported bookIOException
SBook imports(File file, String bookName) throws IOException
file
- the filebookName
- the book name for imported bookIOException
SBook imports(URL url, String bookName) throws IOException
url
- the urlbookName
- the book name for imported bookIOException
Copyright © 2020. All rights reserved.