You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by im...@apache.org on 2007/05/14 21:37:16 UTC
svn commit: r537958 -
/jakarta/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/DelegateFileObject.java
Author: imario
Date: Mon May 14 12:37:15 2007
New Revision: 537958
URL: http://svn.apache.org/viewvc?view=rev&rev=537958
Log:
VFS-146: provide access to the delegated file - Thanks to Adam Heath for the patch!
Modified:
jakarta/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/DelegateFileObject.java
Modified: jakarta/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/DelegateFileObject.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/DelegateFileObject.java?view=diff&rev=537958&r1=537957&r2=537958
==============================================================================
--- jakarta/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/DelegateFileObject.java (original)
+++ jakarta/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/DelegateFileObject.java Mon May 14 12:37:15 2007
@@ -63,6 +63,14 @@
}
/**
+ * get access to the delegated file
+ */
+ public FileObject getDelegateFile()
+ {
+ return file;
+ }
+
+ /**
* Adds a child to this file.
*/
public void attachChild(final FileName baseName, final FileType type) throws Exception
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org