creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1548885 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/MonolithicFileDocument.java
Date Sat, 07 Dec 2013 11:29:38 GMT
Author: rdonkin
Date: Sat Dec  7 11:29:37 2013
New Revision: 1548885

URL: http://svn.apache.org/r1548885
Log:
Add java doc.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/MonolithicFileDocument.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/MonolithicFileDocument.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/MonolithicFileDocument.java?rev=1548885&r1=1548884&r2=1548885&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/MonolithicFileDocument.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/MonolithicFileDocument.java
Sat Dec  7 11:29:37 2013
@@ -26,18 +26,39 @@ import java.io.InputStream;
 import java.io.Reader;
 
 
+/**
+ * The Class MonolithicFileDocument.
+ */
 public class MonolithicFileDocument extends AbstractMonolithicDocument {
+
+	/** The file. */
     private final File file;
 
+	/**
+	 * Instantiates a new monolithic file document.
+	 * 
+	 * @param file
+	 *            the file
+	 */
     public MonolithicFileDocument(final File file) {
         super(DocumentImplUtils.toName(file));
         this.file = file;
     }
 
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.rat.api.Document#reader()
+	 */
     public Reader reader() throws IOException {
         return new FileReader(file);
     }
 
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.rat.api.Document#inputStream()
+	 */
     public InputStream inputStream() throws IOException {
         return new FileInputStream(file);
     }



Mime
View raw message