public class ScannerFactory extends Object
FileScanner
by the ScannerPatternFormat
.Constructor and Description |
---|
ScannerFactory()
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
FileScanner |
create(ScannerPatternFormat patternFormat,
Log logger)
Creates a new scanner related with the pattern format.
|
public FileScanner create(ScannerPatternFormat patternFormat, Log logger)
RegexFileScanner
if
patternFormat
is equal to null
.patternFormat
- the scanner pattern format.logger
- the logger used to log included/excluded files (only in debug mode).IllegalArgumentException
- if the logger is equal to null
.Copyright © 2015–2016 gabrys.biz. All rights reserved.