You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2004/06/13 06:58:07 UTC

cvs commit: jakarta-commons/io/src/java/org/apache/commons/io FileUtils.java FilenameUtils.java

bayard      2004/06/12 21:58:07

  Modified:    io/src/java/org/apache/commons/io FileUtils.java
                        FilenameUtils.java
  Log:
  moved javadoc about paths into FilenameUtils
  
  Revision  Changes    Path
  1.32      +2 -16     jakarta-commons/io/src/java/org/apache/commons/io/FileUtils.java
  
  Index: FileUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/io/src/java/org/apache/commons/io/FileUtils.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- FileUtils.java	24 Apr 2004 19:46:16 -0000	1.31
  +++ FileUtils.java	13 Jun 2004 04:58:07 -0000	1.32
  @@ -35,21 +35,7 @@
   import org.apache.commons.io.filefilter.TrueFileFilter;
   
   /**
  - * This class provides basic facilities for manipulating files and file paths.
  - *
  - * <h3>Path-related methods</h3>
  - *
  - * <p>Methods exist to retrieve the components of a typical file path. For example
  - * <code>/www/hosted/mysite/index.html</code>, can be broken into:
  - * <ul>
  - *   <li><code>/www/hosted/mysite/</code> -- retrievable through {@link #getPath}</li>
  - *   <li><code>index.html</code> -- retrievable through {@link #removePath}</li>
  - *   <li><code>/www/hosted/mysite/index</code> -- retrievable through {@link #removeExtension}</li>
  - *   <li><code>html</code> -- retrievable through {@link #getExtension}</li>
  - * </ul>
  - * There are also methods to {@link #catPath concatenate two paths}, {@link #resolveFile resolve a
  - * path relative to a File} and {@link #normalize} a path.
  - * </p>
  + * This class provides basic facilities for manipulating files. 
    *
    * <h3>File-related methods</h3>
    * <p>
  
  
  
  1.9       +16 -2     jakarta-commons/io/src/java/org/apache/commons/io/FilenameUtils.java
  
  Index: FilenameUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/io/src/java/org/apache/commons/io/FilenameUtils.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- FilenameUtils.java	12 Mar 2004 21:58:59 -0000	1.8
  +++ FilenameUtils.java	13 Jun 2004 04:58:07 -0000	1.9
  @@ -21,7 +21,21 @@
   
   /**
    * Common {@link java.io.File} manipulation routines through 
  - * use of a filename.
  + * use of a filename/path.
  + *
  + * <h3>Path-related methods</h3>
  + *
  + * <p>Methods exist to retrieve the components of a typical file path. For example
  + * <code>/www/hosted/mysite/index.html</code>, can be broken into:
  + * <ul>
  + *   <li><code>/www/hosted/mysite/</code> -- retrievable through {@link #getPath}</li>
  + *   <li><code>index.html</code> -- retrievable through {@link #removePath}</li>
  + *   <li><code>/www/hosted/mysite/index</code> -- retrievable through {@link #removeExtension}</li>
  + *   <li><code>html</code> -- retrievable through {@link #getExtension}</li>
  + * </ul>
  + * There are also methods to {@link #catPath concatenate two paths}, {@link #resolveFile resolve a
  + * path relative to a File} and {@link #normalize} a path.
  + * </p>
    *
    * <h3>Origin of code</h3>
    * <ul>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org