Methods
| Method |
Description |
|
org.readium.r2.shared.util.zip.compress.archivers.getCount()
|
Returns the current number of bytes read from this stream. |
|
org.readium.r2.shared.util.zip.compress.archivers.getCount()
|
Returns the current number of bytes written to this stream. |
|
org.readium.r2.shared.util.zip.compress.archivers.getCount()
|
Returns the current number of bytes written to this stream. |
|
org.readium.r2.shared.extensions.mediaType(File,String)
|
Sniffs the media type of the file. |
|
org.readium.r2.shared.extensions.putPublication(Intent,Publication)
|
|
|
org.readium.r2.shared.extensions.putPublication(Bundle,Publication)
|
|
|
org.readium.r2.shared.extensions.putPublicationFrom(Intent,Activity)
|
|
|
org.readium.r2.shared.extensions.putPublicationFrom(Bundle,Activity)
|
|
|
org.readium.r2.shared.extensions.getPublication(Intent,Activity)
|
|
|
org.readium.r2.shared.extensions.getPublicationOrNull(Intent)
|
|
|
org.readium.r2.shared.extensions.getPublicationOrNull(Intent,Activity)
|
|
|
org.readium.r2.shared.extensions.getPublicationOrNull(Bundle)
|
|
|
org.readium.r2.shared.extensions.destroyPublication(Intent,Activity)
|
|
|
org.readium.r2.shared.util.from(String)
|
|
|
org.readium.r2.shared.opds.parseIndirectAcquisition(JSONObject)
|
|
|
org.readium.r2.shared.util.from(String)
|
|
|
org.readium.r2.shared.publication.expandTemplate(Map)
|
Expands the HREF by replacing URI template variables by the given parameters. |
|
org.readium.r2.shared.publication.toUrl(Url)
|
Computes an absolute URL to the link, relative to the given baseUrl. |
|
org.readium.r2.shared.publication.titleForLang(String)
|
|
|
org.readium.r2.shared.publication.writeJSON()
|
|
|
org.readium.r2.shared.util.from(String)
|
|
|
org.readium.r2.shared.publication.toLocator(Link)
|
Creates a Locator from a reading order Link. |
|
org.readium.r2.shared.publication.firstWithRole(Map,String)
|
|
|
org.readium.r2.shared.publication.findAllWithRole(Map,String)
|
|
|
org.readium.r2.shared.util.from(String)
|
|
|
org.readium.r2.shared.util.from(String)
|
|
|
org.readium.r2.shared.util.from(String)
|
|
|
org.readium.r2.shared.util.from(String)
|
|
|
org.readium.r2.shared.util.from(String)
|
|
|
org.readium.r2.shared.util.from(String)
|
|
|
org.readium.r2.shared.publication.presentation.getJSON()
|
|
|
kotlin.collections.toArray(IntFunction)
|
|
|
org.readium.r2.shared.util.from(K)
|
|
|
org.readium.r2.shared.util.from(K)
|
|
|
org.readium.r2.shared.util.recover(Try,Function1)
|
Returns the encapsulated result of the given transform function applied to the encapsulated |Throwable] exception if this instance represents failure or the original encapsulated value if it is success. |
|
org.readium.r2.shared.util.getOrThrowError(Try)
|
Returns the encapsulated value if this instance represents success or throws the encapsulated ThrowableError exception if it is failure. |
|
org.readium.r2.shared.util.http.wrap(Exception)
|
|
|
org.readium.r2.shared.util.http.valueForHeader(String)
|
Finds the first value of the first header matching the given name. |
|
org.readium.r2.shared.util.http.valuesForHeader(String)
|
Finds all the values of the first header matching the given name. |
|
org.readium.r2.shared.util.mediatype.parse(String,String,String)
|
|
|
org.readium.r2.shared.util.mediatype.of(String)
|
|
|
org.readium.r2.shared.util.mediatype.of(String,String)
|
Resolves a format from a single file extension and media type hint, without checking the actual content. |
|
org.readium.r2.shared.util.mediatype.of(List,List)
|
Resolves a format from file extension and media type hints, without checking the actual content. |
|
org.readium.r2.shared.util.mediatype.of(File,String,String)
|
|
|
org.readium.r2.shared.util.mediatype.of(File,List,List)
|
|
|
org.readium.r2.shared.util.mediatype.of(Function0,String,String)
|
|
|
org.readium.r2.shared.util.mediatype.of(Function0,List,List)
|
|
|
org.readium.r2.shared.util.mediatype.of(Uri,ContentResolver,String,String)
|
|
|
org.readium.r2.shared.util.mediatype.of(Uri,ContentResolver,List,List)
|
|
|
org.readium.r2.shared.util.mediatype.ofFile(File,String,String)
|
Resolves a format from a local file path. |
|
org.readium.r2.shared.util.mediatype.ofFile(File,List,List)
|
Resolves a format from a local file path. |
|
org.readium.r2.shared.util.mediatype.ofFile(String,String,String)
|
Resolves a format from a local file path. |
|
org.readium.r2.shared.util.mediatype.ofFile(String,List,List)
|
Resolves a format from a local file path. |
|
org.readium.r2.shared.util.mediatype.ofBytes(Function0,String,String)
|
Resolves a format from bytes, e.g. |
|
org.readium.r2.shared.util.mediatype.ofBytes(Function0,List,List)
|
Resolves a format from bytes, e.g. |
|
org.readium.r2.shared.util.mediatype.ofUri(Uri,ContentResolver,String,String)
|
Resolves a format from a content URI and a ContentResolver. |
|
org.readium.r2.shared.util.mediatype.ofUri(Uri,ContentResolver,List,List)
|
Resolves a format from a content URI and a ContentResolver. |
|
org.readium.r2.shared.util.mediatype.canonicalMediaType()
|
Returns the canonical version of this media type, if it is known. |
|
org.readium.r2.shared.util.mediatype.sniffMediaType(HttpURLConnection,Function0,List,List)
|
|
|
org.readium.r2.shared.util.mediatype.mediaType(File,String)
|
|
|
org.readium.r2.shared.util.resource.mapCatching(Try)
|
|