commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1024090 - in /commons/proper/vfs/trunk: checkstyle.xml pom.xml src/site/xdoc/3rdparty.xml src/site/xdoc/anttasks.xml src/site/xdoc/api.xml src/site/xdoc/download.xml src/site/xdoc/filesystems.xml src/site/xdoc/index.xml
Date Tue, 19 Oct 2010 02:04:03 GMT
Author: sebb
Date: Tue Oct 19 02:04:03 2010
New Revision: 1024090

URL: http://svn.apache.org/viewvc?rev=1024090&view=rev
Log:
Tab police

Modified:
    commons/proper/vfs/trunk/checkstyle.xml
    commons/proper/vfs/trunk/pom.xml
    commons/proper/vfs/trunk/src/site/xdoc/3rdparty.xml
    commons/proper/vfs/trunk/src/site/xdoc/anttasks.xml
    commons/proper/vfs/trunk/src/site/xdoc/api.xml
    commons/proper/vfs/trunk/src/site/xdoc/download.xml
    commons/proper/vfs/trunk/src/site/xdoc/filesystems.xml
    commons/proper/vfs/trunk/src/site/xdoc/index.xml

Modified: commons/proper/vfs/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/checkstyle.xml?rev=1024090&r1=1024089&r2=1024090&view=diff
==============================================================================
--- commons/proper/vfs/trunk/checkstyle.xml (original)
+++ commons/proper/vfs/trunk/checkstyle.xml Tue Oct 19 02:04:03 2010
@@ -51,7 +51,7 @@
         <module name="JavadocMethod">
             <property name="scope" value="public"/>
             <property name="allowUndeclaredRTE" value="true"/>
-	          <property name="allowMissingJavadoc" value="true"/>
+              <property name="allowMissingJavadoc" value="true"/>
         </module>
         <module name="JavadocType">
             <property name="authorFormat" value="\S"/>

Modified: commons/proper/vfs/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/pom.xml?rev=1024090&r1=1024089&r2=1024090&view=diff
==============================================================================
--- commons/proper/vfs/trunk/pom.xml (original)
+++ commons/proper/vfs/trunk/pom.xml Tue Oct 19 02:04:03 2010
@@ -145,14 +145,14 @@
       <plugin>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-build-plugin</artifactId>
-		<!-- version inherited from commons-parent -->
+        <!-- version inherited from commons-parent -->
         <configuration>
             <commons.release.name>commons-${commons.componentid}-${commons.release.version}</commons.release.name>
         </configuration>
       </plugin>
       <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
-		<!-- version inherited from commons-parent -->
+        <!-- version inherited from commons-parent -->
         <configuration>
           <descriptors>
             <descriptor>src/assembly/bin.xml</descriptor>
@@ -164,7 +164,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
-		<!-- version inherited from commons-parent -->
+        <!-- version inherited from commons-parent -->
         <executions>
           <execution>
             <id>attach-sources</id>
@@ -245,8 +245,8 @@
   </reporting>
 
   <dependencyManagement>
-	<dependencies>
-	  <!-- artifacts of project, versions managed by release-plugin -->
+    <dependencies>
+      <!-- artifacts of project, versions managed by release-plugin -->
       <dependency>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-vfs</artifactId>
@@ -256,8 +256,8 @@
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-vfs</artifactId>
         <version>2.0-SNAPSHOT</version>
-		<type>test-jar</type>
-		<scope>test</scope>
+        <type>test-jar</type>
+        <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.apache.commons</groupId>
@@ -270,7 +270,7 @@
         <version>2.0-SNAPSHOT</version>
       </dependency>
 
-	  <!-- 3rd party dependencies -->
+      <!-- 3rd party dependencies -->
       <dependency>
         <groupId>commons-logging</groupId>
         <artifactId>commons-logging</artifactId>
@@ -342,9 +342,9 @@
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>3.8.2</version>
-		<scope>test</scope>
+        <scope>test</scope>
       </dependency>
-	</dependencies>
+    </dependencies>
   </dependencyManagement>
 
   <profiles>

Modified: commons/proper/vfs/trunk/src/site/xdoc/3rdparty.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/site/xdoc/3rdparty.xml?rev=1024090&r1=1024089&r2=1024090&view=diff
==============================================================================
--- commons/proper/vfs/trunk/src/site/xdoc/3rdparty.xml (original)
+++ commons/proper/vfs/trunk/src/site/xdoc/3rdparty.xml Tue Oct 19 02:04:03 2010
@@ -27,18 +27,18 @@
 
             <p>
                 Commons VFS provides a way to extend it by simply placing plugin-jars
-				into the classpath.
+                into the classpath.
             </p>
 
             <p>Some external plugins:</p>
             <ul>
                 <li>ISO 9660 - <a href="http://loopy.sourceforge.net">http://loopy.sourceforge.net</a><br/>
-					Reads .iso files
+                    Reads .iso files
                 </li>
             </ul>
 
         </section>
 
-	</body>
+    </body>
 </document>
 

Modified: commons/proper/vfs/trunk/src/site/xdoc/anttasks.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/site/xdoc/anttasks.xml?rev=1024090&r1=1024089&r2=1024090&view=diff
==============================================================================
--- commons/proper/vfs/trunk/src/site/xdoc/anttasks.xml (original)
+++ commons/proper/vfs/trunk/src/site/xdoc/anttasks.xml Tue Oct 19 02:04:03 2010
@@ -111,7 +111,7 @@
                 <source><![CDATA[
 <project ... xmlns:vfs="antlib:org.apache.commons.vfs.tasks">
     <target name="dosomething">
-	    <vfs:copy .../>
+        <vfs:copy .../>
     </target>
 </project>
                     ]]></source>

Modified: commons/proper/vfs/trunk/src/site/xdoc/api.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/site/xdoc/api.xml?rev=1024090&r1=1024089&r2=1024090&view=diff
==============================================================================
--- commons/proper/vfs/trunk/src/site/xdoc/api.xml (original)
+++ commons/proper/vfs/trunk/src/site/xdoc/api.xml Tue Oct 19 02:04:03 2010
@@ -70,16 +70,16 @@ for ( int i = 0; i < children.length; i+
 }
                 ]]></source>
 
-			<p>
-				In some cases you might want to explicitely free resources allocated by the filesystem.
-				You can do this by calling
-				<a href="apidocs/org/apache/commons/vfs/FileSystemManager.html#closeFileSystem">VFS.getManager().closeFileSystem(fs)</a>.
-				If you use VFS as singleton (as described above) you should take care that this will
close the filesystem for
-				all threads.<br />
-				In other words, do not close any globally used filesystem like the one for local files.
 
-			</p>
+            <p>
+                In some cases you might want to explicitely free resources allocated by the
filesystem.
+                You can do this by calling
+                <a href="apidocs/org/apache/commons/vfs/FileSystemManager.html#closeFileSystem">VFS.getManager().closeFileSystem(fs)</a>.
+                If you use VFS as singleton (as described above) you should take care that
this will close the filesystem for
+                all threads.<br />
+                In other words, do not close any globally used filesystem like the one for
local files.  
+            </p>
 
-			<p>
+            <p>
                 See the
                 <a href="apidocs/org/apache/commons/vfs/FileObject.html">FileObject</a>
                 Javadocs for more detail.
@@ -94,52 +94,52 @@ for ( int i = 0; i < children.length; i+
                     hold a reference to this object. If the FileObject is no longer reachable,
and the jvm needs some memory,
                     it will be released.
                 </p>
-				<p>
-					There is also a internal cache of each file object avoid the need to access the network
layer. Now its possible
-					to configure this behviour through the use of <a href="apidocs/org/apache/commons/vfs/CacheStrategy.html">CacheStrategy</a>.
-					<br />
-					Do this on the DefaultFileSystemManager. For example:
-					<code>
-						((DefaultFileSystemManager) VFS.getManager()).setCacheStrategy(CacheStrategy.ON_CALL)
-					</code>
-				</p>
-			</subsection>
-
-			<subsection name="User Authentication">
-				<p>
-					You can put the credentials into the url, but the drawback here is, that it is
+                <p>
+                    There is also a internal cache of each file object avoid the need to
access the network layer. Now its possible
+                    to configure this behviour through the use of <a href="apidocs/org/apache/commons/vfs/CacheStrategy.html">CacheStrategy</a>.
+                    <br />
+                    Do this on the DefaultFileSystemManager. For example:
+                    <code>
+                        ((DefaultFileSystemManager) VFS.getManager()).setCacheStrategy(CacheStrategy.ON_CALL)
+                    </code>
+                </p>
+            </subsection>
+
+            <subsection name="User Authentication">
+                <p>
+                    You can put the credentials into the url, but the drawback here is, that
it is
                     easily possible to get access to the password.
-				</p>
-				<p>
-					To solve you can use the
+                </p>
+                <p>
+                    To solve you can use the
                     <a href="apidocs/org/apache/commons/vfs/UserAuthenticator.html">UserAuthenticator</a>
-				</p>
-				<p>
-					For example:
-					<code>
-						StaticUserAuthenticator auth = new StaticUserAuthenticator("username", "password",
null);
-						FileSystemOptions opts = new FileSystemOptions();
-						DefaultFileSystemConfigBuilder.getInstance().setUserAuthenticator(opts, auth);
-
-						FileObject fo = VFS.getManager().resolveFile("smb://host/anyshare/dir", opts);
-					</code>
-				</p>
-				<p>
-					Internally the UserAuthenticator uses char arrays which will be zeroed before it is
+                </p>
+                <p>
+                    For example:
+                    <code>
+                        StaticUserAuthenticator auth = new StaticUserAuthenticator("username",
"password", null);
+                        FileSystemOptions opts = new FileSystemOptions();
+                        DefaultFileSystemConfigBuilder.getInstance().setUserAuthenticator(opts,
auth);
+
+                        FileObject fo = VFS.getManager().resolveFile("smb://host/anyshare/dir",
opts);
+                    </code>
+                </p>
+                <p>
+                    Internally the UserAuthenticator uses char arrays which will be zeroed
before it is
                     freed for garbage collection.Unhappily none of the current libraries
use char
                     arrays and so VFS has to create a string. Thus, the main advantage
-					of this solution - security - is lost, but hey, thats not VFS fault ;-)
-				</p>
-				<p>
-					VFS calls <code>UserAuthenticator.requestAuthentication</code> each time
it
+                    of this solution - security - is lost, but hey, thats not VFS fault ;-)
+                </p>
+                <p>
+                    VFS calls <code>UserAuthenticator.requestAuthentication</code>
each time it
                     requires credentials, it depends on the filesystem implementation how
often
                     this might be. For example, with FTP this is on every connection, in
SMB/JCIFS
-					this is for EVERY OBJECT. It is up to you how long you will cache credentials
+                    this is for EVERY OBJECT. It is up to you how long you will cache credentials
                     of if you would like to provide a "save credentials" checkbox.
-				</p>
-			</subsection>
+                </p>
+            </subsection>
 
-			<subsection name="Examples">
+            <subsection name="Examples">
                 <p>
                     For an example of using the API, take a look at the classes
                     in the

Modified: commons/proper/vfs/trunk/src/site/xdoc/download.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/site/xdoc/download.xml?rev=1024090&r1=1024089&r2=1024090&view=diff
==============================================================================
--- commons/proper/vfs/trunk/src/site/xdoc/download.xml (original)
+++ commons/proper/vfs/trunk/src/site/xdoc/download.xml Tue Oct 19 02:04:03 2010
@@ -91,13 +91,13 @@
                     </td>
                     <td>SFTP</td>
                 </tr>
-				<tr>
-					<td>
-						<a href="http://java.sun.com/products/javamail/">javamail</a>
-						Version 1.4
-					</td>
-					<td>mime (VFS sandbox)</td>
-				</tr>
+                <tr>
+                    <td>
+                        <a href="http://java.sun.com/products/javamail/">javamail</a>
+                        Version 1.4
+                    </td>
+                    <td>mime (VFS sandbox)</td>
+                </tr>
             </table>
         </section>
         <section name="Building Commons VFS">

Modified: commons/proper/vfs/trunk/src/site/xdoc/filesystems.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/site/xdoc/filesystems.xml?rev=1024090&r1=1024089&r2=1024090&view=diff
==============================================================================
--- commons/proper/vfs/trunk/src/site/xdoc/filesystems.xml (original)
+++ commons/proper/vfs/trunk/src/site/xdoc/filesystems.xml Tue Oct 19 02:04:03 2010
@@ -57,24 +57,24 @@
                     <a href="#mime">mime</a>
                 </li>
                 <li>
-					          <a href="#WebDAV">WebDAV</a><br />
-			        	</li>
+                              <a href="#WebDAV">WebDAV</a><br />
+                        </li>
             </ul>
         </section>
 
-		<section name="Things from the sandbox">
-			<p>The following file systems are in development:</p>
-			<ul>
-				<li>
-					<a href="#CIFS">CIFS</a>
-				</li>
-				<li>
-					<a href="#mime">mime</a>
-				</li>
-			</ul>
-		</section>
+        <section name="Things from the sandbox">
+            <p>The following file systems are in development:</p>
+            <ul>
+                <li>
+                    <a href="#CIFS">CIFS</a>
+                </li>
+                <li>
+                    <a href="#mime">mime</a>
+                </li>
+            </ul>
+        </section>
 
-		<section name="Naming">
+        <section name="Naming">
 
             <p>All filenames are treated as URIs. One of the consequences of this is
you have to encode the '%'
                 character using <code>%25</code>. <br />
@@ -526,9 +526,9 @@
         <section name="ram">
 
             <p>
-            	A filesystem which stores all the data in memory.
-            	You can configure the max size and a predicate (FileSelector). The predicate
will be used to check if
-            	it is allowed to add a given file.
+                A filesystem which stores all the data in memory.
+                You can configure the max size and a predicate (FileSelector). The predicate
will be used to check if
+                it is allowed to add a given file.
             </p>
 
             <p>
@@ -552,41 +552,41 @@
             </ul>
         </section>
 
-		<section name="mime">
+        <section name="mime">
 
-			<p>
-				This filesystem can read mails and its attachements like archives.<br />
-				If a part in the parsed mail has no name, a dummy name will be generated.
-				The dummy name is: _body_part_X where X will be replaced by the part number.
-			</p>
-
-			<p>
-				<b>URI Format</b>
-			</p>
-
-			<p>
-				<code>mime://
-					<i>mime-file-uri</i>[!
-					<i>absolute-path</i>]
-				</code>
-			</p>
-
-			<p>
-				<b>Examples</b>
-			</p>
-
-			<ul>
-				<li>
-					<code>mime:file:///your/path/mail/anymail.mime!/</code>
-				</li>
-				<li>
-					<code>mime:file:///your/path/mail/anymail.mime!/filename.pdf</code>
-				</li>
-				<li>
-					<code>mime:file:///your/path/mail/anymail.mime!/_body_part_0</code>
-				</li>
-			</ul>
-		</section>
+            <p>
+                This filesystem can read mails and its attachements like archives.<br
/>
+                If a part in the parsed mail has no name, a dummy name will be generated.
+                The dummy name is: _body_part_X where X will be replaced by the part number.
+            </p>
+
+            <p>
+                <b>URI Format</b>
+            </p>
+
+            <p>
+                <code>mime://
+                    <i>mime-file-uri</i>[!
+                    <i>absolute-path</i>]
+                </code>
+            </p>
+
+            <p>
+                <b>Examples</b>
+            </p>
+
+            <ul>
+                <li>
+                    <code>mime:file:///your/path/mail/anymail.mime!/</code>
+                </li>
+                <li>
+                    <code>mime:file:///your/path/mail/anymail.mime!/filename.pdf</code>
+                </li>
+                <li>
+                    <code>mime:file:///your/path/mail/anymail.mime!/_body_part_0</code>
+                </li>
+            </ul>
+        </section>
 
-	</body>
+    </body>
 </document>

Modified: commons/proper/vfs/trunk/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/site/xdoc/index.xml?rev=1024090&r1=1024089&r2=1024090&view=diff
==============================================================================
--- commons/proper/vfs/trunk/src/site/xdoc/index.xml (original)
+++ commons/proper/vfs/trunk/src/site/xdoc/index.xml Tue Oct 19 02:04:03 2010
@@ -64,31 +64,31 @@
 
         </section>
 
-		<section name="News">
-			<p>
-				VFS is split into core, examples and sandbox now.
-			</p>
-			<p>
-				Due to some technical reasons we had to move the jcifs (smb) filesystem to
-				the sandbox. So if you need one of these filesystems you have to build VFS manually.
-			</p>
-			<p>
-				To build VFS, it will be best to check-it-out from svn and use maven 2 to
-				build.
-			</p>
-			<p>
-				And - we have a new filesystem: mime (read only for sure)<br/>
-				This filesystem allows you to read e-mails like archives, e.g. the attachments are the
-				children of the mail itself.<br />
-				You'll find it in our sandbox.
-			</p>
-			<p>
-				Also notice that we now have a "3rd party plugins" page. It will list all external
-				plugins available for VFS.<br />
-				You have such a beast - and will get listed? Just drop me a mail: imario -at- apache.org
-			</p>
-		</section>
+        <section name="News">
+            <p>
+                VFS is split into core, examples and sandbox now.
+            </p>
+            <p>
+                Due to some technical reasons we had to move the jcifs (smb) filesystem to
+                the sandbox. So if you need one of these filesystems you have to build VFS
manually.
+            </p>
+            <p>
+                To build VFS, it will be best to check-it-out from svn and use maven 2 to
+                build.
+            </p>
+            <p>
+                And - we have a new filesystem: mime (read only for sure)<br/>
+                This filesystem allows you to read e-mails like archives, e.g. the attachments
are the
+                children of the mail itself.<br />
+                You'll find it in our sandbox.
+            </p>
+            <p>
+                Also notice that we now have a "3rd party plugins" page. It will list all
external
+                plugins available for VFS.<br />
+                You have such a beast - and will get listed? Just drop me a mail: imario
-at- apache.org
+            </p>
+        </section>
 
-	</body>
+    </body>
 </document>
 



Mime
View raw message