src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java

changeset 1397
8abc56be3131
parent 1383
b980e8e6aabf
child 1410
bfec2a1cc869
equal deleted inserted replaced
1396:9b85813d2262 1397:8abc56be3131
553 /** 553 /**
554 * Given a ClassDoc, return the name of its type (Class, Interface, etc.). 554 * Given a ClassDoc, return the name of its type (Class, Interface, etc.).
555 * 555 *
556 * @param cd the ClassDoc to check. 556 * @param cd the ClassDoc to check.
557 * @param lowerCaseOnly true if you want the name returned in lower case. 557 * @param lowerCaseOnly true if you want the name returned in lower case.
558 * If false, the first letter of the name is capatilized. 558 * If false, the first letter of the name is capitalized.
559 * @return 559 * @return
560 */ 560 */
561 public static String getTypeName(Configuration config, 561 public static String getTypeName(Configuration config,
562 ClassDoc cd, boolean lowerCaseOnly) { 562 ClassDoc cd, boolean lowerCaseOnly) {
563 String typeName = ""; 563 String typeName = "";

mercurial