Class LocalDataFilePortalBaseFolder

  • All Implemented Interfaces:
    java.io.Serializable, IPortalBaseFolder

    public class LocalDataFilePortalBaseFolder
    extends java.lang.Object
    implements IPortalBaseFolder
    Local data file portal base folder.
    Since:
    8.0.0
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Method Detail

      • getAbsolutePath

        public java.lang.String getAbsolutePath​(java.lang.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 java.lang.String getRelativePath​(java.lang.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 java.lang.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 java.lang.Object
        Returns:
        a string representation of this base folder.
      • toPortalFilePath

        public PortalFilePath toPortalFilePath​(java.lang.String relativePath)