public interface SchemeAccessor
Modifier and Type | Interface and Description |
---|---|
static interface |
SchemeAccessor.SchemeBuilder<B extends SchemeAccessor.SchemeBuilder<B>>
Provides a builder method for a URL scheme returning the builder for
applying multiple build operations.
|
static interface |
SchemeAccessor.SchemeMutator
Provides a mutator for a URL scheme.
|
static interface |
SchemeAccessor.SchemeProperty
Provides a URL scheme.
|
Modifier and Type | Method and Description |
---|---|
org.refcodes.data.Scheme |
getScheme()
Retrieves the UrlScheme from the URL scheme.
|
String |
toProtocol()
Retrieves the protocol representation from the
Scheme . |
org.refcodes.data.Scheme getScheme()
String toProtocol()
Scheme
. In case of
a scheme unknown by the Scheme
enumeration, then
getScheme()
might return null whilst toProtocol()
still
retrieves the unknown scheme's protocol representation (as of
SchemeAccessor.SchemeMutator.setProtocol(String)
).Copyright © 2018. All rights reserved.