lumis.portal
Class PortalContext.RelativePath

Package class diagram package PortalContext.RelativePath
java.lang.Object
  extended by lumis.portal.PortalContext.RelativePath
Enclosing class:
PortalContext

Deprecated. Since 4.1.0, replaced by PortalFilePath.

public static class PortalContext.RelativePath
extends Object

Represents a relative file path.

Since:
4.0.11

Constructor Summary
PortalContext.RelativePath(PortalContext.RelativePathType type, String path)
          Deprecated.  
 
Method Summary
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 or Data).
 String getPath()
          Deprecated.  
 PortalContext.RelativePathType getType()
          Deprecated.  
 void setPath(String path)
          Deprecated.  
 void setType(PortalContext.RelativePathType type)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalContext.RelativePath

public PortalContext.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 or Data). 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. 


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.