@Immutable public static enum FsUriModifier.PostFix extends Enum<FsUriModifier.PostFix>
canonicalized.| Enum Constant and Description |
|---|
ENTRY_NAME
The post-fix for an
FsEntryName depends on the given URI:
If the URI is absolute or has an authority or a fragment component
defined, nothing is modified. |
MOUNT_POINT
The post-fix for an
FsMountPoint just normalizes the given
URI. |
PATH
The post-fix for an
FsPath depends on the given URI:
If the URI is opaque or not absolute or has a fragment component
defined, nothing is modified. |
| Modifier and Type | Method and Description |
|---|---|
static FsUriModifier.PostFix |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FsUriModifier.PostFix[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FsUriModifier.PostFix ENTRY_NAME
FsEntryName depends on the given URI:
If the URI is absolute or has an authority or a fragment component
defined, nothing is modified.
Otherwise, the URI path component gets truncated so that it does not
start or end with
"/".public static final FsUriModifier.PostFix MOUNT_POINT
FsMountPoint just normalizes the given
URI.public static final FsUriModifier.PostFix PATH
FsPath depends on the given URI:
If the URI is opaque or not absolute or has a fragment component
defined, nothing is modified.
Otherwise, the following modifications are conducted:
File.toURI().
Note that this fix is not limited to Windows in order to make this function work identically on all platforms.
public static FsUriModifier.PostFix 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.PostFix[] values()
for (FsUriModifier.PostFix c : FsUriModifier.PostFix.values()) System.out.println(c);
Copyright © 2005-2013 Schlichtherle IT Services. All Rights Reserved.