public interface SImporter
Modifier and Type | Method and Description |
---|---|
SBook |
imports(java.io.File file,
java.lang.String bookName)
Import book from a file
|
SBook |
imports(java.io.InputStream is,
java.lang.String bookName)
Import book from a input stream
|
SBook |
imports(java.net.URL url,
java.lang.String bookName)
Import book from a URL
|
SBook imports(java.io.InputStream is, java.lang.String bookName) throws java.io.IOException
is
- the input streambookName
- the book name for imported bookjava.io.IOException
SBook imports(java.io.File file, java.lang.String bookName) throws java.io.IOException
file
- the filebookName
- the book name for imported bookjava.io.IOException
SBook imports(java.net.URL url, java.lang.String bookName) throws java.io.IOException
url
- the urlbookName
- the book name for imported bookjava.io.IOException
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.