commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1244729 - in /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2: FileContent.java provider/DefaultFileContent.java
Date Wed, 15 Feb 2012 21:08:54 GMT
Author: ggregory
Date: Wed Feb 15 21:08:53 2012
New Revision: 1244729

URL: http://svn.apache.org/viewvc?rev=1244729&view=rev
Log:
Fix Javadocs.

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileContent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/DefaultFileContent.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileContent.java?rev=1244729&r1=1244728&r2=1244729&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileContent.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileContent.java Wed
Feb 15 21:08:53 2012
@@ -243,6 +243,7 @@ public interface FileContent
      *            The target OutputStream.
      * @throws IOException
      *             if an error occurs writing the content.
+     * @return the total number of bytes written
      * @since 2.1
      */
     long write(FileContent output) throws IOException;
@@ -254,6 +255,7 @@ public interface FileContent
      *            The target FileObject.
      * @throws IOException
      *             if an error occurs writing the content.
+     * @return the total number of bytes written
      * @since 2.1
      */
     long write(FileObject file) throws IOException;
@@ -263,6 +265,7 @@ public interface FileContent
      *
      * @param output
      *            The target OutputStream.
+     * @return the total number of bytes written
      * @throws IOException
      *             if an error occurs writing the content.
      * @since 2.1
@@ -276,6 +279,7 @@ public interface FileContent
      *            The target OutputStream.
      * @param bufferSize
      *            The buffer size to write data chunks.
+     * @return the total number of bytes written
      * @throws IOException
      *             if an error occurs writing the file.
      * @since 2.1

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/DefaultFileContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/DefaultFileContent.java?rev=1244729&r1=1244728&r2=1244729&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/DefaultFileContent.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/DefaultFileContent.java
Wed Feb 15 21:08:53 2012
@@ -744,6 +744,7 @@ public final class DefaultFileContent im
      *
      * @param fileContent
      *            The target FileContent.
+     * @return the total number of bytes written
      * @throws IOException
      *             if an error occurs writing the content.
      * @since 2.1
@@ -780,6 +781,7 @@ public final class DefaultFileContent im
      *
      * @param output
      *            The target OutputStream.
+     * @return the total number of bytes written
      * @throws IOException
      *             if an error occurs writing the content.
      * @since 2.1
@@ -796,6 +798,7 @@ public final class DefaultFileContent im
      *            The target OutputStream.
      * @param bufferSize
      *            The buffer size to write data chunks.
+     * @return the total number of bytes written
      * @throws IOException
      *             if an error occurs writing the file.
      * @since 2.1



Mime
View raw message