commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1189585 - in /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2: FileName.java FileObject.java
Date Thu, 27 Oct 2011 02:36:04 GMT
Author: ggregory
Date: Thu Oct 27 02:36:04 2011
New Revision: 1189585

URL: http://svn.apache.org/viewvc?rev=1189585&view=rev
Log:
[VFS-367] Add APIs FileObject isFile(), FileObject isFolder(), and FileName isFile(). Add
@since 2.1.

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileName.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileObject.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileName.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileName.java?rev=1189585&r1=1189584&r2=1189585&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileName.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileName.java Thu
Oct 27 02:36:04 2011
@@ -188,6 +188,7 @@ public interface FileName extends Compar
      * @throws FileSystemException if an error occurs.
      * @see #getType() 
      * @see FileType#FILE
+     * @since 2.1
      */
     public boolean isFile() throws FileSystemException;
 

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileObject.java?rev=1189585&r1=1189584&r2=1189585&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileObject.java Thu
Oct 27 02:36:04 2011
@@ -343,6 +343,7 @@ public interface FileObject extends Comp
      * @throws FileSystemException if an error occurs.
      * @see #getType() 
      * @see FileType#FILE
+     * @since 2.1
      */
     public boolean isFile() throws FileSystemException;
 
@@ -353,6 +354,7 @@ public interface FileObject extends Comp
      * @throws FileSystemException if an error occurs.
      * @see #getType() 
      * @see FileType#FOLDER
+     * @since 2.1
      */
     public boolean isFolder() throws FileSystemException;
 



Mime
View raw message