Package gw.fs

Class ResourcePath.ResourcePathHead

    • Constructor Detail

      • ResourcePathHead

        protected ResourcePathHead​(java.lang.String name)
    • Method Detail

      • getPathString

        public java.lang.String getPathString​(java.lang.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