A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
X
Z
O
- of(String) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- of(String,String) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a single file extension and media type hint, without checking the actual content.
- of(List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from file extension and media type hints, without checking the actual content.
- of(File,String,String) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- of(File,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- of(Function0,String,String) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- of(Function0,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- of(Uri,ContentResolver,String,String) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- of(Uri,ContentResolver,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- ofBytes(Function0,String,String) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from bytes, e.g.
- ofBytes(Function0,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from bytes, e.g.
- ofFile(File,String,String) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a local file path.
- ofFile(File,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a local file path.
- ofFile(String,String,String) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a local file path.
- ofFile(String,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a local file path.
- ofUri(Uri,ContentResolver,String,String) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a content URI and a ContentResolver.
- ofUri(Uri,ContentResolver,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a content URI and a ContentResolver.
- onFailure(Function1) - function in org.readium.r2.shared.util.Try
- Performs the given action on the encapsulated value if this instance represents failure.
- onFailure(Function1) - function in org.readium.r2.shared.util.Try.Success
- Performs the given action on the encapsulated value if this instance represents failure.
- onFailure(Function1) - function in org.readium.r2.shared.util.Try.Failure
- Performs the given action on the encapsulated value if this instance represents failure.
- onFollowUnsafeRedirect(HttpRequest,HttpResponse,HttpRequest) - function in org.readium.r2.shared.util.http.DefaultHttpClient.Callback
- Redirections are followed by default when the host and protocols are the same.
- onLeft(Function1) - function in org.readium.r2.shared.util.Either
- onLeft(Function1) - function in org.readium.r2.shared.util.Either.Left
- onLeft(Function1) - function in org.readium.r2.shared.util.Either.Right
- ONLY_PARSEABLE_LENIENT - enum entry in org.readium.r2.shared.util.zip.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
Try to parse as many extra fields as possible and wrapunknown extra fields as well as supported extra fields thatcannot be parsed in UnrecognizedExtraField.
Ignore extra data that doesn't follow the recommendedpattern.
- ONLY_PARSEABLE_STRICT - enum entry in org.readium.r2.shared.util.zip.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
Try to parse as many extra fields as possible and wrapunknown extra fields in UnrecognizedExtraField.
Ignore extra data that doesn't follow the recommendedpattern.
Throw an exception if an extra field that is generallysupported cannot be parsed.
- onRecoverRequest(HttpRequest,HttpError) - function in org.readium.r2.shared.util.http.DefaultHttpClient.Callback
- Called when the HTTP client received an error for the given request, to provide an opportunity to the implementer to recover from it.
- onRequestFailed(HttpRequest,HttpError) - function in org.readium.r2.shared.util.http.DefaultHttpClient.Callback
- Called when the HTTP client received an error for the given request.
- onResponseReceived(HttpRequest,HttpResponse) - function in org.readium.r2.shared.util.http.DefaultHttpClient.Callback
- Called when the HTTP client received an HTTP response for the given request.
- onRight(Function1) - function in org.readium.r2.shared.util.Either
- onRight(Function1) - function in org.readium.r2.shared.util.Either.Left
- onRight(Function1) - function in org.readium.r2.shared.util.Either.Right
- onStartRequest(HttpRequest) - function in org.readium.r2.shared.util.http.DefaultHttpClient.Callback
- Called when the HTTP client will start a new request.
- onSuccess(Function1) - function in org.readium.r2.shared.util.Try
- Performs the given action on the encapsulated value if this instance represents success.
- onSuccess(Function1) - function in org.readium.r2.shared.util.Try.Success
- Performs the given action on the encapsulated value if this instance represents success.
- onSuccess(Function1) - function in org.readium.r2.shared.util.Try.Failure
- Performs the given action on the encapsulated value if this instance represents success.
- onTrimMemory(MemoryObserver.Level) - function in org.readium.r2.shared.publication.services.InMemoryCacheService
- Called by the system when memory needs to be freed.
- onTrimMemory(MemoryObserver.Level) - function in org.readium.r2.shared.util.MemoryObserver
- Called by the system when memory needs to be freed.
- onTrimMemory(MemoryObserver.Level) - function in org.readium.r2.shared.util.Cache
- Called by the system when memory needs to be freed.
- onTrimMemory(MemoryObserver.Level) - function in org.readium.r2.shared.util.cache.InMemoryCache
- Called by the system when memory needs to be freed.
- onUnparseableExtraField(Array,int,int,boolean,int) - function in org.readium.r2.shared.util.zip.compress.archivers.zip.ExtraFieldParsingBehavior
- Decides what to do with extra field data that doesn't follow the recommended pattern.
- onUnparseableExtraField(Array,int,int,boolean,int) - function in org.readium.r2.shared.util.zip.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
- Decides what to do with extra field data that doesn't follow the recommended pattern.
- onUnparseableExtraField(Array,int,int,boolean,int) - function in org.readium.r2.shared.util.zip.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
- Decides what to do with extra field data that doesn't follow the recommended pattern.
- onUnparseableExtraField(Array,int,int,boolean,int) - function in org.readium.r2.shared.util.zip.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
- Decides what to do with extra field data that doesn't follow the recommended pattern.
- onUnparseableExtraField(Array,int,int,boolean,int) - function in org.readium.r2.shared.util.zip.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
- Decides what to do with extra field data that doesn't follow the recommended pattern.
- onUnparseableExtraField(Array,int,int,boolean,int) - function in org.readium.r2.shared.util.zip.compress.archivers.zip.UnparseableExtraFieldBehavior
- Decides what to do with extra field data that doesn't follow the recommended pattern.
- Opds1Sniffer - class in org.readium.r2.shared.util.format
- Sniffs an OPDS1 document.
- Opds2Sniffer - class in org.readium.r2.shared.util.format
- Sniffs an OPDS 2 document.
- OpdsMetadata - class in org.readium.r2.shared.opds
- OpdsMetadata.Builder - class in org.readium.r2.shared.opds.OpdsMetadata
- open(Format,Readable) - function in org.readium.r2.shared.util.zip.ZipArchiveOpener
- Creates a new Container to access the entries of an archive with a known format.
- open(Asset,String,Boolean) - function in org.readium.r2.shared.publication.protection.ContentProtection
- Attempts to unlock a potentially protected publication asset.
- open(Asset,String,Boolean) - function in org.readium.r2.shared.publication.protection.FallbackContentProtection
- Attempts to unlock a potentially protected publication asset.
- open(Format,Readable) - function in org.readium.r2.shared.util.archive.ArchiveOpener
- Creates a new Container to access the entries of an archive with a known format.
- open(Format,Readable) - function in org.readium.r2.shared.util.archive.CompositeArchiveOpener
- Creates a new Container to access the entries of an archive with a known format.
- open(Format,Readable) - function in org.readium.r2.shared.util.archive.DefaultArchiveOpener
- Creates a new Container to access the entries of an archive with a known format.
- open(Resource,String) - function in org.readium.r2.shared.util.pdf.PdfDocumentFactory
- Opens a PDF from a resource.
- optNullableBoolean(JSONObject,String,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists, coercing it if necessary, or
nullif no such mapping exists. - optNullableDouble(JSONObject,String,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists, coercing it if necessary, or
nullif no such mapping exists. - optNullableInt(JSONObject,String,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists, coercing it if necessary, or
nullif no such mapping exists. - optNullableLong(JSONObject,String,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists, coercing it if necessary, or
nullif no such mapping exists. - optNullableString(JSONObject,String,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists, or
nullif no such mapping exists, it is not a string or it is empty. - optPositiveDouble(JSONObject,String,Double,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists and is a positive double or can be coerced to a positive double, or fallback otherwise.
- optPositiveInt(JSONObject,String,Integer,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists and is a positive integer or can be coerced to a positive integer, or fallback otherwise.
- optStringsFromArrayOrSingle(JSONObject,String,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists and is either a JSONArray of String or a single String value, or an empty list otherwise.
- org.readium.r2.shared - package org.readium.r2.shared
- org.readium.r2.shared.drm - package org.readium.r2.shared.drm
- org.readium.r2.shared.extensions - package org.readium.r2.shared.extensions
- org.readium.r2.shared.fetcher - package org.readium.r2.shared.fetcher
- org.readium.r2.shared.opds - package org.readium.r2.shared.opds
- org.readium.r2.shared.publication - package org.readium.r2.shared.publication
- org.readium.r2.shared.publication.archive - package org.readium.r2.shared.publication.archive
- org.readium.r2.shared.publication.asset - package org.readium.r2.shared.publication.asset
- org.readium.r2.shared.publication.encryption - package org.readium.r2.shared.publication.encryption
- org.readium.r2.shared.publication.epub - package org.readium.r2.shared.publication.epub
- org.readium.r2.shared.publication.html - package org.readium.r2.shared.publication.html
- org.readium.r2.shared.publication.opds - package org.readium.r2.shared.publication.opds
- org.readium.r2.shared.publication.presentation - package org.readium.r2.shared.publication.presentation
- org.readium.r2.shared.publication.protection - package org.readium.r2.shared.publication.protection
- org.readium.r2.shared.publication.services - package org.readium.r2.shared.publication.services
- org.readium.r2.shared.publication.services.content - package org.readium.r2.shared.publication.services.content
- org.readium.r2.shared.publication.services.content.iterators - package org.readium.r2.shared.publication.services.content.iterators
- org.readium.r2.shared.publication.services.search - package org.readium.r2.shared.publication.services.search
- org.readium.r2.shared.util - package org.readium.r2.shared.util
- org.readium.r2.shared.util.archive - package org.readium.r2.shared.util.archive
- org.readium.r2.shared.util.asset - package org.readium.r2.shared.util.asset
- org.readium.r2.shared.util.cache - package org.readium.r2.shared.util.cache
- org.readium.r2.shared.util.content - package org.readium.r2.shared.util.content
- org.readium.r2.shared.util.data - package org.readium.r2.shared.util.data
- org.readium.r2.shared.util.file - package org.readium.r2.shared.util.file
- org.readium.r2.shared.util.format - package org.readium.r2.shared.util.format
- org.readium.r2.shared.util.http - package org.readium.r2.shared.util.http
- org.readium.r2.shared.util.io - package org.readium.r2.shared.util.io
- org.readium.r2.shared.util.logging - package org.readium.r2.shared.util.logging
- org.readium.r2.shared.util.mediatype - package org.readium.r2.shared.util.mediatype
- org.readium.r2.shared.util.pdf - package org.readium.r2.shared.util.pdf
- org.readium.r2.shared.util.resource - package org.readium.r2.shared.util.resource
- org.readium.r2.shared.util.resource.content - package org.readium.r2.shared.util.resource.content
- org.readium.r2.shared.util.tokenizer - package org.readium.r2.shared.util.tokenizer
- org.readium.r2.shared.util.units - package org.readium.r2.shared.util.units
- org.readium.r2.shared.util.xml - package org.readium.r2.shared.util.xml
- org.readium.r2.shared.util.zip - package org.readium.r2.shared.util.zip
- org.readium.r2.shared.util.zip.compress.archivers - package org.readium.r2.shared.util.zip.compress.archivers
- org.readium.r2.shared.util.zip.compress.archivers.zip - package org.readium.r2.shared.util.zip.compress.archivers.zip
- org.readium.r2.shared.util.zip.compress.parallel - package org.readium.r2.shared.util.zip.compress.parallel
- org.readium.r2.shared.util.zip.compress.utils - package org.readium.r2.shared.util.zip.compress.utils
- org.readium.r2.shared.util.zip.jvm - package org.readium.r2.shared.util.zip.jvm