SkyEpub SDK for Android 7
 All Classes Functions Variables
Public Member Functions | List of all members
com.skytree.epub.ContentProvider Interface Reference
Inheritance diagram for com.skytree.epub.ContentProvider:
com.skytree.epub.SkyProvider

Public Member Functions

boolean isExists (String baseDirectory, String contentPath)
 
ContentData getContentData (String baseDirectory, String contentPath)
 

Detailed Description

ContentProvider is the interface to provide the custom IO routine for EPub file.

Member Function Documentation

ContentData com.skytree.epub.ContentProvider.getContentData ( String  baseDirectory,
String  contentPath 
)

called whenever sdk needs ContentData for a file of epub

Parameters
baseDirectorybaseDirectory of epub
contentPathrelative 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: