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
  • Constructor Details

    • ResourcePathHead

      protected ResourcePathHead(String name)
  • Method Details

    • getPathString

      public String getPathString(String separator)
      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
      After the path root will follow all path components, separated with the given separator. The separator will not be appended to the end of the path. Some example paths returned by this method are:
      • C:\temp\downloads
      • /
      • \\files\documents
        Overrides:
        getPathString in class ResourcePath
        Parameters:
        separator - the separator to use when constructing the path
        Returns:
        the path string for this path using the specified path separator