jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1817706 - /jmeter/trunk/src/components/org/apache/jmeter/extractor/BoundaryExtractor.java
Date Sun, 10 Dec 2017 12:06:37 GMT
Author: fschumacher
Date: Sun Dec 10 12:06:37 2017
New Revision: 1817706

URL: http://svn.apache.org/viewvc?rev=1817706&view=rev
Log:
Javadoc. Add description to parameters and method

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/extractor/BoundaryExtractor.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/extractor/BoundaryExtractor.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/extractor/BoundaryExtractor.java?rev=1817706&r1=1817705&r2=1817706&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/extractor/BoundaryExtractor.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/extractor/BoundaryExtractor.java Sun Dec
10 12:06:37 2017
@@ -227,14 +227,27 @@ public class BoundaryExtractor extends A
     }
 
     /**
-     * 
+     * Extracts text fragments, that are between the boundaries, into
+     * {@code result}.<br>
+     * The number of extracted fragments can be controlled by
+     * {@code matchNumber}
+     *
      * @param leftBoundary
+     *            fragment representing the left boundary of the searched text
      * @param rightBoundary
+     *            fragment representing the right boundary of the searched text
      * @param matchNumber
+     *            if &lt; 0, all found matches will be added, else only those
+     *            matches, where {@code matchNumber} is less then {@code found}
+     *            plus the number of matches found in this round
      * @param inputString
+     *            text in which to look for the fragments
      * @param result
+     *            list where the found text fragments will be placed
      * @param found
-     * @return int found updated
+     *            specifies how many fragments where found before calling us
+     * @return updated found (found plus number of fragements added to
+     *         {@code result})
      */
     public int extract(String leftBoundary, String rightBoundary, int matchNumber, String
inputString,
             List<String> result, int found) {



Mime
View raw message