public class ClassLocation extends PackageLocation
Constructor and Description |
---|
ClassLocation(String packageName,
String className)
Creates a new ClassLocation with the supplied package and class names.
|
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Retrieves the simple class name for the class potentially holding JavaDoc.
|
int |
hashCode() |
String |
toString() |
compareTo, equals, getPackageName, getPath, isEqualToPath
public ClassLocation(String packageName, String className)
packageName
- The name of the package for a class potentially holding JavaDoc. Cannot be null
.className
- The (simple) name of a class. Cannot be null or empty.public String getClassName()
null
or empty.null
or empty.public int hashCode()
hashCode
in class PackageLocation
public String toString()
toString
in class PackageLocation
Copyright © 2005–2015 MojoHaus. All rights reserved.