|
long | getLength (String baseDirectory, String contentPath) |
|
InputStream | getInputStream (String baseDirectory, String contentPath) |
|
boolean | isExists (String baseDirectory, String contentPath) |
|
long | getLastModified (String baseDirectory, String contentPath) |
|
ContentListener is the interface for custom reader for epub file.
- Author
- skytree *
InputStream com.skytree.epub.ContentListener.getInputStream |
( |
String |
baseDirectory, |
|
|
String |
contentPath |
|
) |
| |
called whenever sdk needs InputStream for a file of epub
- Parameters
-
baseDirectory | baseDirectory of epub |
contentPath | relative path from baseDirectory |
- Returns
- InputStream for a file of epub
long com.skytree.epub.ContentListener.getLastModified |
( |
String |
baseDirectory, |
|
|
String |
contentPath |
|
) |
| |
called when sdk needs to know the last modified date.
- Parameters
-
baseDirectory | |
contentPath | |
- Returns
- returns if file exists.
long com.skytree.epub.ContentListener.getLength |
( |
String |
baseDirectory, |
|
|
String |
contentPath |
|
) |
| |
called whenever the length of a file is needed to be read.
- Parameters
-
baseDirectory | baseDirectory of epub |
contentPath | relative path from baseDirectory |
- Returns
- the length of a file
boolean com.skytree.epub.ContentListener.isExists |
( |
String |
baseDirectory, |
|
|
String |
contentPath |
|
) |
| |
called when sdk needs to know if a file exists or not.
- Parameters
-
baseDirectory | |
contentPath | |
- Returns
- returns if file exists.
The documentation for this interface was generated from the following file:
- /Users/skytree/Documents/Projects/workspace/SkyReader/src/com/skytree/epub/ContentListener.java