creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549496 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportTransformer.java
Date Mon, 09 Dec 2013 06:18:48 GMT
Author: rdonkin
Date: Mon Dec  9 06:18:48 2013
New Revision: 1549496

URL: http://svn.apache.org/r1549496
Log:
Add Java Doc.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportTransformer.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportTransformer.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportTransformer.java?rev=1549496&r1=1549495&r2=1549496&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportTransformer.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportTransformer.java
Mon Dec  9 06:18:48 2013
@@ -29,12 +29,32 @@ import javax.xml.transform.TransformerFa
 import javax.xml.transform.stream.StreamResult;
 import javax.xml.transform.stream.StreamSource;
 
+/**
+ * The Class ReportTransformer.
+ */
 class ReportTransformer implements Runnable {
 
+	/** The out. */
 	private final Writer out;
+
+	/** The transformer. */
 	private final Transformer transformer;
+
+	/** The in. */
 	private final Reader in;
 
+	/**
+	 * Instantiates a new report transformer.
+	 * 
+	 * @param out
+	 *            the out
+	 * @param style
+	 *            the style
+	 * @param in
+	 *            the in
+	 * @throws TransformerConfigurationException
+	 *             the transformer configuration exception
+	 */
 	public ReportTransformer(final Writer out, final Reader style,
 			final Reader in) throws TransformerConfigurationException {
 		this.out = out;
@@ -43,6 +63,18 @@ class ReportTransformer implements Runna
 		this.in = in;
 	}
 
+	/**
+	 * Instantiates a new report transformer.
+	 * 
+	 * @param out
+	 *            the out
+	 * @param style
+	 *            the style
+	 * @param in
+	 *            the in
+	 * @throws TransformerConfigurationException
+	 *             the transformer configuration exception
+	 */
 	public ReportTransformer(final Writer out, final InputStream style,
 			final Reader in) throws TransformerConfigurationException {
 		this.out = out;
@@ -51,6 +83,11 @@ class ReportTransformer implements Runna
 		this.in = in;
 	}
 
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.lang.Runnable#run()
+	 */
 	public void run() {
 		try {
 			transform();
@@ -59,6 +96,12 @@ class ReportTransformer implements Runna
 		}
 	}
 
+	/**
+	 * Transform.
+	 * 
+	 * @throws TransformerException
+	 *             the transformer exception
+	 */
 	public void transform() throws TransformerException {
 		transformer.transform(new StreamSource(in), new StreamResult(out));
 	}



Mime
View raw message