Package lumis.portal
Class PortalContext.RelativePath
- java.lang.Object
-
- lumis.portal.PortalContext.RelativePath
-
- Enclosing class:
- PortalContext
@Deprecated public static class PortalContext.RelativePath extends Object
Deprecated.Since 4.1.0, replaced byPortalFilePath
.Represents a relative file path.- Since:
- 4.0.11
- Version:
- $Revision: 24030 $ $Date: 2020-08-14 13:52:18 -0300 (Fri, 14 Aug 2020) $
-
-
Constructor Summary
Constructors Constructor Description RelativePath(PortalContext.RelativePathType type, String path)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PortalContext.RelativePath
convertAbsolutePath(String absolutePath)
Deprecated.String
getPath()
Deprecated.PortalContext.RelativePathType
getType()
Deprecated.void
setPath(String path)
Deprecated.void
setType(PortalContext.RelativePathType type)
Deprecated.
-
-
-
Constructor Detail
-
RelativePath
public RelativePath(PortalContext.RelativePathType type, String path)
Deprecated.
-
-
Method Detail
-
convertAbsolutePath
public static PortalContext.RelativePath convertAbsolutePath(String absolutePath)
Deprecated.Converts the given absolute file path to a relative file path, of one of the known tipes (WWW
,Def
orData
). If the absolute path does not correspond to any of there relative path types, null is returned.- Parameters:
absolutePath
- absolute path to be converted to relative- Returns:
- RelativePath object containing the corresponding relative path, or null is the conversion is not possible.
-
getPath
public String getPath()
Deprecated.
-
setPath
public void setPath(String path)
Deprecated.
-
getType
public PortalContext.RelativePathType getType()
Deprecated.
-
setType
public void setType(PortalContext.RelativePathType type)
Deprecated.
-
-