|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.doxia.site.decoration.inheritance.PathUtils
public abstract class PathUtils
Utilitites that allow conversion of old and new pathes and URLs relative to each other.
Method Summary | |
---|---|
static PathDescriptor |
convertPath(PathDescriptor oldPath,
PathDescriptor newPath)
|
static java.lang.String |
getRelativeFilePath(java.lang.String oldPath,
java.lang.String newPath)
This method can calculate the relative path between two pathes on a file system. |
static java.lang.String |
getRelativePath(PathDescriptor oldPathDescriptor,
PathDescriptor newPathDescriptor)
|
static java.lang.String |
getRelativeWebPath(java.lang.String oldPath,
java.lang.String newPath)
This method can calculate the relative path between two pathes on a web site. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final PathDescriptor convertPath(PathDescriptor oldPath, PathDescriptor newPath) throws java.net.MalformedURLException
java.net.MalformedURLException
public static final java.lang.String getRelativePath(PathDescriptor oldPathDescriptor, PathDescriptor newPathDescriptor) throws java.net.MalformedURLException
java.net.MalformedURLException
public static final java.lang.String getRelativeWebPath(java.lang.String oldPath, java.lang.String newPath)
public static final java.lang.String getRelativeFilePath(java.lang.String oldPath, java.lang.String newPath)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |