Package com.lazerycode.jmeter.results
Class XMLFileScanner
- java.lang.Object
-
- com.lazerycode.jmeter.results.XMLFileScanner
-
public class XMLFileScanner extends Object
-
-
Constructor Summary
Constructors Constructor Description XMLFileScanner()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
scanXmlFileForPattern(File file, Pattern searchPattern)
Scans a xml file for a given pattern.
-
-
-
Method Detail
-
scanXmlFileForPattern
public static int scanXmlFileForPattern(File file, Pattern searchPattern) throws org.apache.maven.plugin.MojoExecutionException
Scans a xml file for a given pattern.- Parameters:
file
- The file to parsesearchPattern
- The pattern to scan for- Returns:
- The number of times the pattern appears in the xml file
- Throws:
org.apache.maven.plugin.MojoExecutionException
- When an error occurs while reading the file
-
-