Package lumis.portal
Class PortalContext.RelativePath
- java.lang.Object
-
- lumis.portal.PortalContext.RelativePath
-
- Enclosing class:
- PortalContext
@Deprecated public static class PortalContext.RelativePath extends java.lang.Object
Deprecated.Since 4.1.0, replaced byPortalFilePath
.Represents a relative file path.- Since:
- 4.0.11
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description RelativePath(PortalContext.RelativePathType type, java.lang.String path)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PortalContext.RelativePath
convertAbsolutePath(java.lang.String absolutePath)
Deprecated.java.lang.String
getPath()
Deprecated.PortalContext.RelativePathType
getType()
Deprecated.void
setPath(java.lang.String path)
Deprecated.void
setType(PortalContext.RelativePathType type)
Deprecated.
-
-
-
Constructor Detail
-
RelativePath
public RelativePath(PortalContext.RelativePathType type, java.lang.String path)
Deprecated.
-
-
Method Detail
-
convertAbsolutePath
public static PortalContext.RelativePath convertAbsolutePath(java.lang.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 java.lang.String getPath()
Deprecated.
-
setPath
public void setPath(java.lang.String path)
Deprecated.
-
getType
public PortalContext.RelativePathType getType()
Deprecated.
-
setType
public void setType(PortalContext.RelativePathType type)
Deprecated.
-
-