public class Location
Describes the location of configuration information. A location may have a uri or may not, because it is compiled into the application or obtained from ephemeral data, such as the process environment or command-line parameters,
| Modifier and Type | Class and Description |
|---|---|
static class |
Location.Companion |
| Modifier and Type | Field and Description |
|---|---|
static Location.Companion |
Companion |
static Location |
INTRINSIC
Deprecated.
|
| Constructor and Description |
|---|
Location(java.lang.String description,
java.net.URI uri)
Describes the location of configuration information. A location may have a uri or may not, because it is
compiled into the application or obtained from ephemeral data, such as the process environment or command-line
parameters,
|
Location(java.io.File file) |
Location(java.net.URI uri) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1() |
java.net.URI |
component2() |
Location |
copy(java.lang.String description,
java.net.URI uri)
Describes the location of configuration information. A location may have a uri or may not, because it is
compiled into the application or obtained from ephemeral data, such as the process environment or command-line
parameters,
|
boolean |
equals(java.lang.Object p) |
java.lang.String |
getDescription() |
java.net.URI |
getUri() |
int |
hashCode() |
java.lang.String |
toString() |
public static Location INTRINSIC
Describes the location of configuration data that is compiled into the application, as resources
or code that creates a interface Configuration object.
interface Configurationpublic static Location.Companion Companion
public Location(java.lang.String description,
java.net.URI uri)
Describes the location of configuration information. A location may have a uri or may not, because it is compiled into the application or obtained from ephemeral data, such as the process environment or command-line parameters,
public Location(java.io.File file)
public Location(java.net.URI uri)
public java.lang.String getDescription()
public java.net.URI getUri()
public java.lang.String component1()
public java.net.URI component2()
public Location copy(java.lang.String description, java.net.URI uri)
Describes the location of configuration information. A location may have a uri or may not, because it is compiled into the application or obtained from ephemeral data, such as the process environment or command-line parameters,
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)