ContentProvider is the interface to provide the custom IO routine for EPub file.
ContentData com.skytree.epub.ContentProvider.getContentData |
( |
String |
baseDirectory, |
|
|
String |
contentPath |
|
) |
| |
called whenever sdk needs ContentData for a file of epub
- Parameters
-
baseDirectory | baseDirectory of epub |
contentPath | relative path from baseDirectory |
- Returns
- ContentData ContentData Object which contains the contentLength, contentPath, inputStream and lastModified for a file inside epub.
boolean com.skytree.epub.ContentProvider.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/ContentProvider.java