public class LocalDataFilePortalBaseFolder extends Object implements IPortalBaseFolder
Modifier and Type | Method and Description |
---|---|
String |
getAbsolutePath(String relativePath)
Calculates the absolute path from a relative path to this base folder.
|
static LocalDataFilePortalBaseFolder |
getInstance() |
String |
getRelativePath(String absolutePath)
Calculates the relative path to this base folder for the given absolute
path.
|
PortalFilePath |
toPortalFilePath(String relativePath) |
String |
toString()
A string for display purposes that identifies this base folder.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals
public String getAbsolutePath(String relativePath)
IPortalBaseFolder
getAbsolutePath
in interface IPortalBaseFolder
relativePath
- the relative path.public String getRelativePath(String absolutePath)
IPortalBaseFolder
getRelativePath
in interface IPortalBaseFolder
absolutePath
- the absolute path.public static LocalDataFilePortalBaseFolder getInstance()
public String toString()
IPortalBaseFolder
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.
toString
in interface IPortalBaseFolder
toString
in class Object
public PortalFilePath toPortalFilePath(String relativePath)
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.