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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]