url
Returns a source from specified url.
Format of the url is auto-detected from the url extension. Supported url formats and the corresponding extensions:
HOCON: conf
JSON: json
Properties: properties
TOML: toml
XML: xml
YAML: yml, yaml
Throws UnsupportedExtensionException if the url extension is unsupported.
Return
a source from specified url
Parameters
specified url
whether the source is optional
Throws
Returns a source from specified url string.
Format of the url is auto-detected from the url extension. Supported url formats and the corresponding extensions:
HOCON: conf
JSON: json
Properties: properties
TOML: toml
XML: xml
YAML: yml, yaml
Throws UnsupportedExtensionException if the url extension is unsupported.
Return
a source from specified url string
Parameters
specified url string
whether the source is optional