android-components / mozilla.components.browser.domains / Domain

Domain

data class Domain (source)

Class intended for internal use which encapsulates meta data about a domain.

Constructors

Name Summary
<init> Domain(protocol: String, hasWww: Boolean, host: String)
Class intended for internal use which encapsulates meta data about a domain.

Properties

Name Summary
hasWww val hasWww: Boolean
host val host: String
protocol val protocol: String

Companion Object Functions

Name Summary
create fun create(url: String): Domain

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.