/** * generates and returns the Javadoc * * @return the generated Javadoc * @throws Exception in case the generation fails */ protected String generateJavadoc() throws Exception { String result; int i; result = ""; for (i = 0; i < m_StartTag.length; i++) { if (i > 0) { result += "\n\n"; } result += generateJavadoc(i).trim(); } return result; }
/** * generates and returns the Javadoc * * @return the generated Javadoc * @throws Exception in case the generation fails */ protected String generateJavadoc() throws Exception { String result; int i; result = ""; for (i = 0; i < m_StartTag.length; i++) { if (i > 0) { result += "\n\n"; } result += generateJavadoc(i).trim(); } return result; }
/** * generates either the plain Javadoc (if no filename specified) or the * updated file (if a filename is specified). The start and end tag for the * global info have to be specified in the file in the latter case. * * @return either the plain Javadoc or the modified file * @throws Exception in case the generation fails */ public String generate() throws Exception { if (getDir().length() == 0) { return generateJavadoc(); } else { return updateJavadoc(); } }
/** * generates either the plain Javadoc (if no filename specified) or the * updated file (if a filename is specified). The start and end tag for the * global info have to be specified in the file in the latter case. * * @return either the plain Javadoc or the modified file * @throws Exception in case the generation fails */ public String generate() throws Exception { if (getDir().length() == 0) { return generateJavadoc(); } else { return updateJavadoc(); } }
.append(indent(m_StartTag[index], indentionLen, indentionStr) + "\n"); resultBuf.append(indent(generateJavadoc(index), indentionLen, indentionStr)); resultBuf.append(indent(m_EndTag[index], indentionLen, indentionStr));
.append(indent(m_StartTag[index], indentionLen, indentionStr) + "\n"); resultBuf.append(indent(generateJavadoc(index), indentionLen, indentionStr)); resultBuf.append(indent(m_EndTag[index], indentionLen, indentionStr));