|
TrueZIP Kernel 7.0-rc2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<FsUriModifier>
de.schlichtherle.truezip.fs.FsUriModifier
@Immutable @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public enum FsUriModifier
Modifies a URI when parsing an FsPath, an FsMountPoint or an
FsEntryName.
| Nested Class Summary | |
|---|---|
static class |
FsUriModifier.PostFix
Post-fixes a URI when it gets canonicalized. |
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
(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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final FsUriModifier NULL
public static final FsUriModifier CANONICALIZE
post-fix which depends on the class to parse.
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
abstract URI modify(URI uri,
FsUriModifier.PostFix fix)
throws URISyntaxException
uri - the URI to modify.fix - the post-fix to apply if required.
URISyntaxException
|
TrueZIP Kernel 7.0-rc2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||