public interface ResourcePath
ResourcePathNode.create(String)| Modifier and Type | Field and Description |
|---|---|
static char |
HOME_PATH_CHAR
The path segment separator.
|
static String |
PATH_SEGMENT_CURRENT_DIRECTORY
The path segment indicating the current folder itself.
|
static String |
PATH_SEGMENT_PARENT_DIRECTORY
The path segment indicating the parent folder.
|
static String |
PATH_SEGMENT_SEPARATOR
The path segment separator.
|
static char |
PATH_SEGMENT_SEPARATOR_CHAR
The path segment separator.
|
static String |
UNC_PATH_PREFIX
The prefix of an UNC (Uniform Naming Convention) path (e.g.
|
static String |
URL_SCHEME_AUTHORITY_SEPARATOR
The separator infix between scheme and authority in an URL.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
ResourcePath |
getParent() |
ResourcePath |
getRoot() |
boolean |
isAbsolute() |
boolean |
isRoot() |
static final String PATH_SEGMENT_CURRENT_DIRECTORY
static final String PATH_SEGMENT_PARENT_DIRECTORY
static final char PATH_SEGMENT_SEPARATOR_CHAR
static final String PATH_SEGMENT_SEPARATOR
static final char HOME_PATH_CHAR
static final String UNC_PATH_PREFIX
\\10.0.0.1\share).static final String URL_SCHEME_AUTHORITY_SEPARATOR
ResourcePath getParent()
ResourcePathNode or null if this is the isRoot() segment.ResourcePath getRoot()
root ancestor of this ResourcePathNode.String getName()
ResourcePathNode as segment (this "folder" or "file").boolean isAbsolute()
true if this path is absolute, false if it is relative.boolean isRoot()
true if this is the root ResourcePathNode, false otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.