|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.tools.doclet.Group
Process and manage grouping of packages, as specified by "-group" option on the command line.
For example, if user has used -group option as -group "Core Packages" "java.*" -group "CORBA Packages" "org.omg.*", then the packages specified on the command line will be grouped according to their names starting with either "java." or "org.omg.". All the other packages which do not fall in the user given groups, are grouped in default group, named as either "Other Packages" or "Packages" depending upon if "-group" option used or not at all used respectively.
Also the packages are grouped according to the longest possible match of their names with the grouping information provided. For example, if there are two groups, like -group "Lang" "java.lang" and -group "Core" "java.*", will put the package java.lang in the group "Lang" and not in group "Core".
Constructor Summary | |
Group(ConfigurationStandard configuration)
|
Method Summary | |
boolean |
checkPackageGroups(String groupname,
String pkgNameFormList,
com.sun.javadoc.DocErrorReporter reporter)
Depending upon the format of the package name provided in the "-group" option, generate two separate maps. |
List |
getGroupList()
Return the list of groups, in the same order as specified on the command line. |
Map |
groupPackages(com.sun.javadoc.PackageDoc[] packages)
Group the packages according the grouping information provided on the command line. |
com.sun.tools.doclets.MessageRetriever |
msg()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Group(ConfigurationStandard configuration)
Method Detail |
public boolean checkPackageGroups(String groupname, String pkgNameFormList, com.sun.javadoc.DocErrorReporter reporter)
groupname
- The name of the group from -group option.pkgNameFormList
- List of the package name formats.reporter
- Error reporter object.public Map groupPackages(com.sun.javadoc.PackageDoc[] packages)
packages
- Packages specified on the command line.public List getGroupList()
public com.sun.tools.doclets.MessageRetriever msg()
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |