public class XMLFileScanner extends Object
Constructor and Description |
---|
XMLFileScanner() |
Modifier and Type | Method and Description |
---|---|
static int |
scanXmlFileForPattern(File file,
Pattern searchPattern)
Scans a xml file for a given pattern.
|
public static int scanXmlFileForPattern(File file, Pattern searchPattern) throws org.apache.maven.plugin.MojoExecutionException
file
- The file to parsesearchPattern
- The pattern to scan fororg.apache.maven.plugin.MojoExecutionException
- When an error occurs while reading the fileCopyright © 2021. All rights reserved.