java.lang.Object
me.gosimple.nbvcxz.matching.YearMatcher
- All Implemented Interfaces:
PasswordMatcher
public final class YearMatcher extends java.lang.Object implements PasswordMatcher
Look for every part of the password that matches the year pattern.
- Author:
- Adam Brusselback
-
Constructor Summary
Constructors Constructor Description YearMatcher() -
Method Summary
Modifier and Type Method Description java.util.List<Match>match(Configuration configuration, java.lang.String password)Creates aListofMatchfrom the password.
-
Constructor Details
-
YearMatcher
public YearMatcher()
-
-
Method Details
-
match
Description copied from interface:PasswordMatcherCreates aListofMatchfrom the password.- Specified by:
matchin interfacePasswordMatcher- Parameters:
configuration- configuration for the matcher.password- password to match.- Returns:
- a
ListofMatches that this matcher found for the given password and configuration.
-