Package gw.fs
Class ResourcePath.ResourcePathHead
- java.lang.Object
-
- gw.fs.ResourcePath
-
- gw.fs.ResourcePath.ResourcePathHead
-
- Enclosing class:
- ResourcePath
private static class ResourcePath.ResourcePathHead extends ResourcePath
-
-
Field Summary
-
Fields inherited from class gw.fs.ResourcePath
_name, _parent, WINDOWS_NETWORK_ROOT
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedResourcePathHead(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPathString(java.lang.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
-
-
-
-
Method Detail
-
getPathString
public java.lang.String getPathString(java.lang.String separator)
Description copied from class:ResourcePathReturns 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:
getPathStringin classResourcePath- Parameters:
separator- the separator to use when constructing the path- Returns:
- the path string for this path using the specified path separator
-
-