org.woopi.ant.taskdefs.junit
Class JavadocExtractor

java.lang.Object
  extended by org.woopi.ant.taskdefs.junit.JavadocExtractor

public class JavadocExtractor
extends java.lang.Object


Field Summary
static java.lang.String destDir
           
static java.util.Map<java.lang.String,java.lang.String> methodNameToJavadocsMap
           
static java.lang.String testMethodJavadocText
           
static java.lang.String testMethodName
           
 
Constructor Summary
JavadocExtractor()
           
 
Method Summary
 void generateJavadocText(java.lang.String destDir, java.lang.String sourceDir, java.lang.String[] subpackages)
           
 java.util.Map<java.lang.String,java.lang.String> getJavadocText(java.lang.String pathToClassSource)
           
 java.lang.String getJavadocText(java.lang.String pathToClassSource, java.lang.String testMethodName)
           
static java.lang.String getMethodDocByClassDoc(com.sun.javadoc.ClassDoc classDoc, java.lang.String methodName)
           
static java.lang.String getMethodDocByObject(java.lang.Object o, java.lang.String methodName)
           
static void handleClassDocs(com.sun.javadoc.ClassDoc[] classes)
           
static void mkdirs(java.lang.String file)
           
static void serialize(java.lang.String fqcn, com.sun.javadoc.ClassDoc classDoc)
           
static void serialize(java.lang.String fqcn, java.util.Map<java.lang.String,java.lang.String> map)
           
static void setDestDir(com.sun.javadoc.RootDoc root)
           
static void setDestDir(java.lang.String destDirP)
           
static boolean start(com.sun.javadoc.RootDoc root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testMethodName

public static java.lang.String testMethodName

testMethodJavadocText

public static java.lang.String testMethodJavadocText

methodNameToJavadocsMap

public static java.util.Map<java.lang.String,java.lang.String> methodNameToJavadocsMap

destDir

public static java.lang.String destDir
Constructor Detail

JavadocExtractor

public JavadocExtractor()
Method Detail

start

public static boolean start(com.sun.javadoc.RootDoc root)

setDestDir

public static void setDestDir(com.sun.javadoc.RootDoc root)

getMethodDocByObject

public static java.lang.String getMethodDocByObject(java.lang.Object o,
                                                    java.lang.String methodName)

setDestDir

public static void setDestDir(java.lang.String destDirP)

handleClassDocs

public static void handleClassDocs(com.sun.javadoc.ClassDoc[] classes)

getMethodDocByClassDoc

public static java.lang.String getMethodDocByClassDoc(com.sun.javadoc.ClassDoc classDoc,
                                                      java.lang.String methodName)

serialize

public static void serialize(java.lang.String fqcn,
                             java.util.Map<java.lang.String,java.lang.String> map)

serialize

public static void serialize(java.lang.String fqcn,
                             com.sun.javadoc.ClassDoc classDoc)

mkdirs

public static void mkdirs(java.lang.String file)

getJavadocText

public java.lang.String getJavadocText(java.lang.String pathToClassSource,
                                       java.lang.String testMethodName)

getJavadocText

public java.util.Map<java.lang.String,java.lang.String> getJavadocText(java.lang.String pathToClassSource)

generateJavadocText

public void generateJavadocText(java.lang.String destDir,
                                java.lang.String sourceDir,
                                java.lang.String[] subpackages)


Copyright 2000-${year} Apache Software Foundation. All Rights Reserved.