Class PathUtils
- java.lang.Object
-
- org.apache.maven.doxia.site.decoration.inheritance.PathUtils
-
public abstract class PathUtils extends java.lang.ObjectDeprecated.this only operates on deprecated classes, it is not used anymore.Utilities that allow conversion of old and new pathes and URLs relative to each other.- Version:
- $Id: PathUtils.java 1058083 2011-01-12 11:34:02Z ltheussl $
- Author:
- Brett Porter, Henning P. Schmiedehausen
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PathDescriptorconvertPath(PathDescriptor oldPath, PathDescriptor newPath)Deprecated.convertPath.static java.lang.StringgetRelativePath(PathDescriptor oldPathDescriptor, PathDescriptor newPathDescriptor)Deprecated.getRelativePath.
-
-
-
Method Detail
-
convertPath
public static final PathDescriptor convertPath(PathDescriptor oldPath, PathDescriptor newPath) throws java.net.MalformedURLException
Deprecated.convertPath.
- Parameters:
oldPath- not nullnewPath- not null- Returns:
- a PathDescriptor converted by the new path
- Throws:
java.net.MalformedURLException- if any
-
getRelativePath
public static final java.lang.String getRelativePath(PathDescriptor oldPathDescriptor, PathDescriptor newPathDescriptor)
Deprecated.getRelativePath.
- Parameters:
oldPathDescriptor- not nullnewPathDescriptor- not null- Returns:
- a relative path depending if PathDescriptor is a file or a web url.
- See Also:
PathTool.getRelativeFilePath(String, String),PathTool.getRelativeWebPath(String, String)
-
-