public static enum FsUriModifier.PostFix extends java.lang.Enum<FsUriModifier.PostFix>
canonicalized.| Enum Constant and Description |
|---|
MOUNT_POINT
The post-fix for an
FsMountPoint just normalizes the given
URI. |
NODE_NAME
The post-fix for an
FsNodeName depends on the given URI:
If the URI is absolute or has an authority or a fragment component
defined, nothing is modified. |
NODE_PATH
The post-fix for an
FsNodePath 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(java.lang.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 NODE_PATH
FsNodePath 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().
FsNodeName.SEPARATOR whereby a trailing separator
after a Windows-like drive letter is preserved.
Note that this fix is not limited to Windows in order to make this function work identically on all platforms.
public static final FsUriModifier.PostFix MOUNT_POINT
FsMountPoint just normalizes the given
URI.public static final FsUriModifier.PostFix NODE_NAME
FsNodeName 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 FsNodeName.SEPARATOR.public static FsUriModifier.PostFix[] values()
for (FsUriModifier.PostFix c : FsUriModifier.PostFix.values()) System.out.println(c);
public static FsUriModifier.PostFix valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null