@Immutable @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public enum FsUriModifier extends Enum<FsUriModifier>
| Modifier and Type | Class and Description |
|---|---|
static class |
FsUriModifier.PostFix
Post-fixes a URI when it gets
canonicalized. |
| Enum Constant and Description |
|---|
CANONICALIZE
The canonicalize modifier applies a
post-fix which
depends on the class specific URI syntax. |
NULL
The null modifier does nothing but ensure that the URI path is in normal
form.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract URI |
modify(URI uri,
FsUriModifier.PostFix fix)
An idempotent function which modifies a URI.
|
static FsUriModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FsUriModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FsUriModifier CANONICALIZE
post-fix which
depends on the class specific URI syntax.public static final FsUriModifier NULL
abstract URI modify(URI uri, FsUriModifier.PostFix fix) throws URISyntaxException
uri - the URI to modify.fix - the post-fix to apply if required.URISyntaxExceptionpublic static FsUriModifier valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static FsUriModifier[] values()
for (FsUriModifier c : FsUriModifier.values()) System.out.println(c);
Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.