Class DocPath
java.lang.Object
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.util.DocPath
Deprecated.
Abstraction for immutable relative paths.
Paths always use '/' as a separator, and never begin or end with '/'.
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbasename()
Deprecated.static DocPath
Deprecated.Create a path from a string.boolean
Deprecated.static DocPath
Deprecated.Return the path for a class.static DocPath
Deprecated.Return the path for the simple name of the class.static DocPath
forPackage
(ClassDoc cd) Deprecated.Return the path for the package of a class.static DocPath
forPackage
(PackageDoc pd) Deprecated.Return the path for a package.static DocPath
forRoot
(PackageDoc pd) Deprecated.Return the inverse path for a package.Deprecated.getPath()
Deprecated.Return this path as a string.int
hashCode()
Deprecated.invert()
Deprecated.Return the inverse path for this path.boolean
isEmpty()
Deprecated.Return true if this path is empty.parent()
Deprecated.Deprecated.static DocPath
relativePath
(PackageDoc from, PackageDoc to) Deprecated.Return the relative path from one package to another.Deprecated.Return the path by appending the specified path to the current path.Deprecated.Return the path formed by appending the specified string to the current path.
-
Field Details
-
path
Deprecated. -
empty
Deprecated.The empty path. -
parent
Deprecated.The empty path.
-
-
Constructor Details
-
DocPath
Deprecated.
-
-
Method Details
-
create
Deprecated.Create a path from a string. -
forClass
Deprecated.Return the path for a class. For example, if the class is java.lang.Object, the path is java/lang/Object.html. -
forName
Deprecated.Return the path for the simple name of the class. For example, if the class is java.lang.Object, the path is Object.html. -
forPackage
Deprecated.Return the path for the package of a class. For example, if the class is java.lang.Object, the path is java/lang. -
forPackage
Deprecated.Return the path for a package. For example, if the package is java.lang, the path is java/lang. -
forRoot
Deprecated.Return the inverse path for a package. For example, if the package is java.lang, the inverse path is ../... -
relativePath
Deprecated.Return the relative path from one package to another. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
basename
Deprecated. -
parent
Deprecated. -
resolve
Deprecated.Return the path formed by appending the specified string to the current path. -
resolve
Deprecated.Return the path by appending the specified path to the current path. -
invert
Deprecated.Return the inverse path for this path. For example, if the path is a/b/c, the inverse path is ../../.. -
isEmpty
public boolean isEmpty()Deprecated.Return true if this path is empty. -
fragment
Deprecated. -
query
Deprecated. -
getPath
Deprecated.Return this path as a string.
-