Class LocalDataFilePortalBaseFolder

    • Method Detail

      • getAbsolutePath

        public String getAbsolutePath​(String relativePath)
        Description copied from interface: IPortalBaseFolder
        Calculates the absolute path from a relative path to this base folder.
        Specified by:
        getAbsolutePath in interface IPortalBaseFolder
        Parameters:
        relativePath - the relative path.
        Returns:
        the absolute path.
      • getRelativePath

        public String getRelativePath​(String absolutePath)
        Description copied from interface: IPortalBaseFolder
        Calculates the relative path to this base folder for the given absolute path.
        Specified by:
        getRelativePath in interface IPortalBaseFolder
        Parameters:
        absolutePath - the absolute path.
        Returns:
        the calculated relative path, relative to this base folder.
      • toString

        public String toString()
        Description copied from interface: IPortalBaseFolder
        A string for display purposes that identifies this base folder.

        In special, PortalFilePath uses this string to create its own toString, in the form: [base folder]:/[relative path]. This method should return a value that keeps that form friendly.

        Specified by:
        toString in interface IPortalBaseFolder
        Overrides:
        toString in class Object
        Returns:
        a string representation of this base folder.