commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r452582 - in /jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider: compressed/CompressedFileFileObject.java tar/TarFileObject.java zip/ZipFileObject.java
Date Tue, 03 Oct 2006 17:44:04 GMT
Author: imario
Date: Tue Oct  3 10:44:04 2006
New Revision: 452582

URL: http://svn.apache.org/viewvc?view=rev&rev=452582
Log:
VFS-89: fixed documentation

Modified:
    jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/compressed/CompressedFileFileObject.java
    jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/tar/TarFileObject.java
    jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/zip/ZipFileObject.java

Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/compressed/CompressedFileFileObject.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/compressed/CompressedFileFileObject.java?view=diff&rev=452582&r1=452581&r2=452582
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/compressed/CompressedFileFileObject.java
(original)
+++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/compressed/CompressedFileFileObject.java
Tue Oct  3 10:44:04 2006
@@ -53,9 +53,11 @@
     }
 
     /**
-     * Returns true if this file is read-only.
+     * Determines if this file can be written to.
+     *
+     * @return <code>true</code> if this file is writeable, <code>false</code>
if not.
      */
-    public boolean isWriteable()
+    public boolean isWriteable() throws FileSystemException
     {
         return getFileSystem().hasCapability(Capability.WRITE_CONTENT);
     }

Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/tar/TarFileObject.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/tar/TarFileObject.java?view=diff&rev=452582&r1=452581&r2=452582
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/tar/TarFileObject.java
(original)
+++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/tar/TarFileObject.java
Tue Oct  3 10:44:04 2006
@@ -83,9 +83,11 @@
     }
 
     /**
-     * Returns true if this file is read-only.
+     * Determines if this file can be written to.
+     *
+     * @return <code>true</code> if this file is writeable, <code>false</code>
if not.
      */
-    public boolean isWriteable()
+    public boolean isWriteable() throws FileSystemException
     {
         return false;
     }

Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/zip/ZipFileObject.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/zip/ZipFileObject.java?view=diff&rev=452582&r1=452581&r2=452582
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/zip/ZipFileObject.java
(original)
+++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/zip/ZipFileObject.java
Tue Oct  3 10:44:04 2006
@@ -86,9 +86,11 @@
     }
 
     /**
-     * Returns true if this file is read-only.
+     * Determines if this file can be written to.
+     *
+     * @return <code>true</code> if this file is writeable, <code>false</code>
if not.
      */
-    public boolean isWriteable()
+    public boolean isWriteable() throws FileSystemException
     {
         return false;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message