Title: [1395] trunk/qdox/src/main/java/com/thoughtworks/qdox/JavaProjectBuilder.java: Javadoc adjustments
Revision
1395
Author
rfscholte
Date
2011-10-10 13:51:18 -0500 (Mon, 10 Oct 2011)

Log Message

Javadoc adjustments

Modified Paths


Diff

Modified: trunk/qdox/src/main/java/com/thoughtworks/qdox/JavaProjectBuilder.java (1394 => 1395)

--- trunk/qdox/src/main/java/com/thoughtworks/qdox/JavaProjectBuilder.java	2011-10-09 19:41:11 UTC (rev 1394)
+++ trunk/qdox/src/main/java/com/thoughtworks/qdox/JavaProjectBuilder.java	2011-10-10 18:51:18 UTC (rev 1395)
@@ -69,6 +69,7 @@
 
     /**
      * Default constructor, which will use the {@link SortedClassLibraryBuilder} implementation
+     * and add the default classloaders
      */
     public JavaProjectBuilder()
     {
@@ -137,7 +138,7 @@
     }
 
     /**
-     * Add a java file to this JavaProjectBuilder
+     * Add a java source from a file to this JavaProjectBuilder
      * 
      * @param file a java file
      * @return the {@link JavaSource} of the parsed file
@@ -149,13 +150,24 @@
         return classLibraryBuilder.addSource( file );
     }
     
+    /**
+     * Add a java source from a URL to this JavaProjectBuilder
+     * 
+     * @param url the url
+     * @return the {@link JavaSource} of the parsed file
+     * @throws IOException if the url can't be read
+     */
     public JavaSource addSource( URL url ) throws IOException
     {
         return classLibraryBuilder.addSource( url );
     }
 
-    // Resource adders
-
+    /**
+     * Add a java source from a Reader to this JavaProjectBuilder
+     * 
+     * @param reader the reader
+     * @return the {@link JavaSource} of the parsed reader content
+     */
     public JavaSource addSource( Reader reader )
     {
         return classLibraryBuilder.addSource( reader );


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to