Package gw.fs
Class ResourcePath.ResourcePathHead
java.lang.Object
gw.fs.ResourcePath
gw.fs.ResourcePath.ResourcePathHead
- Enclosing class:
- ResourcePath
-
Field Summary
Fields inherited from class gw.fs.ResourcePath
_name, _parent, WINDOWS_NETWORK_ROOT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPathString
(String separator) Returns the path string for this path using the specified path separator.Methods inherited from class gw.fs.ResourcePath
equals, getFileSystemPathString, getName, getParent, getPathString, hashCode, isChild, isDescendant, join, parse, relativePath, relativePath
-
Constructor Details
-
ResourcePathHead
-
-
Method Details
-
getPathString
Description copied from class:ResourcePath
Returns the path string for this path using the specified path separator. The path constructed will begin with the root of the path, which will be one of:- A windows drive letter, normalized to upper case, followed by : and the separator
- The windows network path start \\
- Just the separator, in the case of the unix root
- C:\temp\downloads
- /
- \\files\documents
- Overrides:
getPathString
in classResourcePath
- Parameters:
separator
- the separator to use when constructing the path- Returns:
- the path string for this path using the specified path separator
-