Author: sebb
Date: Wed Sep 29 18:39:13 2010
New Revision: 1002801

URL: http://svn.apache.org/viewvc?rev=1002801&view=rev
Log:
Javadoc clarifications

Modified:
    commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java

Modified: 
commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java?rev=1002801&r1=1002800&r2=1002801&view=diff
==============================================================================
--- commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java 
(original)
+++ commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java 
Wed Sep 29 18:39:13 2010
@@ -1175,7 +1175,7 @@ public class FilenameUtils {
      * always testing case-sensitive.
      * <p>
      * The wildcard matcher uses the characters '?' and '*' to represent a
-     * single or multiple wildcard characters.
+     * single or multiple (zero or more) wildcard characters.
      * This is the same as often found on Dos/Unix command lines.
      * The check is case-sensitive always.
      * <pre>
@@ -1200,7 +1200,7 @@ public class FilenameUtils {
      * using the case rules of the system.
      * <p>
      * The wildcard matcher uses the characters '?' and '*' to represent a
-     * single or multiple wildcard characters.
+     * single or multiple (zero or more) wildcard characters.
      * This is the same as often found on Dos/Unix command lines.
      * The check is case-sensitive on Unix and case-insensitive on Windows.
      * <pre>
@@ -1225,7 +1225,7 @@ public class FilenameUtils {
      * allowing control over case-sensitivity.
      * <p>
      * The wildcard matcher uses the characters '?' and '*' to represent a
-     * single or multiple wildcard characters.
+     * single or multiple (zero or more) wildcard characters.
      * 
      * @param filename  the filename to match on
      * @param wildcardMatcher  the wildcard string to match against
@@ -1317,9 +1317,11 @@ public class FilenameUtils {
 
     /**
      * Splits a string into a number of tokens.
+     * The text is split by '?' and '*'.
+     * Where multiple '*' occur consecutively they are collapsed into a single 
'*'.
      * 
      * @param text  the text to split
-     * @return the tokens, never null
+     * @return the array of tokens, never null
      */
     static String[] splitOnTokens(String text) {
         // used by wildcardMatch


Reply via email to