You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ad...@apache.org on 2003/02/17 09:57:43 UTC
cvs commit: jakarta-commons-sandbox/vfs/xdocs filesystems.xml api.xml
adammurdoch 2003/02/17 00:57:43
Modified: vfs/xdocs filesystems.xml api.xml
Log:
Fixed typos.
Revision Changes Path
1.5 +1 -1 jakarta-commons-sandbox/vfs/xdocs/filesystems.xml
Index: filesystems.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/vfs/xdocs/filesystems.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- filesystems.xml 15 Feb 2003 02:36:50 -0000 1.4
+++ filesystems.xml 17 Feb 2003 08:57:43 -0000 1.5
@@ -86,7 +86,7 @@
<section name="WebDAV">
- <p>Provides access to files on an WebDAV server.</p>
+ <p>Provides access to files on a WebDAV server.</p>
<p><b>URI Format</b></p>
1.4 +3 -3 jakarta-commons-sandbox/vfs/xdocs/api.xml
Index: api.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/vfs/xdocs/api.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- api.xml 15 Feb 2003 02:37:27 -0000 1.3
+++ api.xml 17 Feb 2003 08:57:43 -0000 1.4
@@ -58,11 +58,11 @@
<source><![CDATA[
// Locate the Jar file
FileSystemManager fsManager = VFS.getManager();
-FileObject aJarFile = fsManager.resolveFile( "jar:lib/aJarFile.jar" );
+FileObject jarFile = fsManager.resolveFile( "jar:lib/aJarFile.jar" );
// List the children of the Jar file
-FileObject[] children = fsManager.getChildren();
-System.println( "Children of " + aJarFile.getName().getURI() );
+FileObject[] children = jarFile.getChildren();
+System.println( "Children of " + jarFile.getName().getURI() );
for ( int i = 0; i < children.length; i++ )
{
System.println( children[ i ].getName().getBaseName() );
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org