Package-level declarations
Types
Represents an absolute Uniform Resource Locator.
CoroutineScope-like util to execute coroutines in a sequential order (FIFO). As with a SupervisorJob, children can be cancelled or fail independently one from the other.
A basic Error implementation with a debug message.
A throwable caused by an Error.
A moment in time.
A serializer for Instant that uses the ISO-8601 representation.
Represents a language with its region.
Extends a MapCompanion by adding a default value as a fallback.
A memory observer reacts to a device reclaiming memory by releasing unused resources.
Represents a relative Uniform Resource Locator.
An error caused by the catch of a throwable.
A Uniform Resource Locator.
Properties
Functions
Appends this file extension to filename.
Returns value in case of success and throws an IllegalStateException in case of failure.
According to the EPUB specification, the HREFs in the EPUB package must be valid URLs (so percent-encoded). Unfortunately, many EPUBs don't follow this rule, and use invalid HREFs such as my chapter.html or /dir/my chapter.html.
Creates an Url from a legacy HREF.
Returns whether the receiver is equivalent to the given url after normalization.
Convenience function to get the description of an error with its cause.