public abstract class AbstractImporter extends Object implements SImporter
| Constructor and Description |
|---|
AbstractImporter() |
| Modifier and Type | Method and Description |
|---|---|
SBook |
imports(File file,
String bookName)
Import book from a file
|
SBook |
imports(URL url,
String bookName)
Import book from a URL
|
public SBook imports(File file, String bookName) throws IOException
SImporterimports in interface SImporterfile - the filebookName - the book name for imported bookIOExceptionpublic SBook imports(URL url, String bookName) throws IOException
SImporterimports in interface SImporterurl - the urlbookName - the book name for imported bookIOExceptionCopyright © 2019. All rights reserved.