@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 normalizes a URI and applies a
post-fix which depends on the class to parse. |
NULL
The null modifier does nothing but ensure that the URI is normalized.
|
| 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 NULL
public static final FsUriModifier CANONICALIZE
post-fix which depends on the class to parse.public static FsUriModifier[] values()
for (FsUriModifier c : FsUriModifier.values()) System.out.println(c);
public 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 nullabstract URI modify(URI uri, FsUriModifier.PostFix fix) throws URISyntaxException
uri - the URI to modify.fix - the post-fix to apply if required.URISyntaxExceptionCopyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.