public class ImporterImpl extends java.lang.Object implements Importer, java.io.Serializable
Constructor and Description |
---|
ImporterImpl(SImporter importer) |
Modifier and Type | Method and Description |
---|---|
SImporter |
getNative() |
Book |
imports(java.io.File file,
java.lang.String bookName)
Import book from a file
|
Book |
imports(java.io.File file,
java.lang.String bookName,
PostImport postImport)
Import book from a file
|
Book |
imports(java.io.InputStream is,
java.lang.String bookName)
Import book from a input stream
|
Book |
imports(java.io.InputStream is,
java.lang.String bookName,
PostImport postImport)
Import book from a input stream
|
Book |
imports(java.net.URL url,
java.lang.String bookName)
Import book from a URL
|
Book |
imports(java.net.URL url,
java.lang.String bookName,
PostImport postImport)
Import book from a URL
|
public ImporterImpl(SImporter importer)
public Book imports(java.io.InputStream is, java.lang.String bookName) throws java.io.IOException
Importer
public Book imports(java.io.InputStream is, java.lang.String bookName, PostImport postImport) throws java.io.IOException
Importer
imports
in interface Importer
is
- the input streambookName
- the book name for imported bookpostImport
- Object to do post processing after book is imported.java.io.IOException
PostImport
public SImporter getNative()
public Book imports(java.io.File file, java.lang.String bookName) throws java.io.IOException
Importer
public Book imports(java.io.File file, java.lang.String bookName, PostImport postImport) throws java.io.IOException
Importer
imports
in interface Importer
file
- the filebookName
- the book name for imported bookpostImport
- Object to do post processing after book is imported.java.io.IOException
PostImport
public Book imports(java.net.URL url, java.lang.String bookName) throws java.io.IOException
Importer
public Book imports(java.net.URL url, java.lang.String bookName, PostImport postImport) throws java.io.IOException
Importer
imports
in interface Importer
url
- the urlbookName
- the book name for imported bookpostImport
- Object to do post processing after book is imported.java.io.IOException
PostImport
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.