|
EAF 7.6 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.server.util.PathUtil
public class PathUtil
Title:
Description:
Copyright: Copyright (c) 2002
Company:
Method Summary | |
---|---|
static java.lang.String |
makeAbsolutePath(java.lang.String parentPath,
java.lang.String relativePath)
Creates absolute path from relative. |
static java.lang.String |
makeRelativePath(java.lang.String parentPath,
java.lang.String absolutePath)
Creates relative path from absolute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String makeRelativePath(java.lang.String parentPath, java.lang.String absolutePath)
parentPath
- parent directory path.absolutePath
- absolute file path (directory or file).
public static java.lang.String makeAbsolutePath(java.lang.String parentPath, java.lang.String relativePath)
parentPath
- root path (directory).relativePath
- relative path (directory or file).
parentPath
is not null
and it is absolute.
|
EAF 7.6 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |