Author: rdonkin
Date: Thu Dec 5 20:55:19 2013
New Revision: 1548305
URL: http://svn.apache.org/r1548305
Log:
Format Code.
Modified:
creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/api/Document.java
Modified:
creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/api/Document.java
URL:
http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/api/Document.java?rev=1548305&r1=1548304&r2=1548305&view=diff
==============================================================================
---
creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/api/Document.java
(original)
+++
creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/api/Document.java
Thu Dec 5 20:55:19 2013
@@ -15,7 +15,7 @@
* KIND, either express or implied. See the License for the *
* specific language governing permissions and limitations *
* under the License. *
- */
+ */
package org.apache.rat.api;
import java.io.IOException;
@@ -26,33 +26,39 @@ import org.apache.rat.document.Composite
public interface Document {
- public String getName();
-
- /**
- * Reads the content of this document.
- * @return <code>Reader</code> not null
- * @throws IOException if this document cannot be read
- * @throws CompositeDocumentException if this document can only be read as
- * a composite archive
- */
- public Reader reader() throws IOException;
-
- /**
- * Streams the document's contents.
- * @return not null
- * @throws IOException when stream could not be opened
- */
- public InputStream inputStream() throws IOException;
-
- /**
- * Gets data describing this resource.
- * @return not null
- */
- public MetaData getMetaData();
-
- /**
- * Is this a composite document?
- * @return true if composite, false otherwise
- */
- public boolean isComposite();
+ public String getName();
+
+ /**
+ * Reads the content of this document.
+ *
+ * @return <code>Reader</code> not null
+ * @throws IOException
+ * if this document cannot be read
+ * @throws CompositeDocumentException
+ * if this document can only be read as a composite archive
+ */
+ public Reader reader() throws IOException;
+
+ /**
+ * Streams the document's contents.
+ *
+ * @return not null
+ * @throws IOException
+ * when stream could not be opened
+ */
+ public InputStream inputStream() throws IOException;
+
+ /**
+ * Gets data describing this resource.
+ *
+ * @return not null
+ */
+ public MetaData getMetaData();
+
+ /**
+ * Is this a composite document?
+ *
+ * @return true if composite, false otherwise
+ */
+ public boolean isComposite();
}