public class Dictionary extends Object
| Constructor and Description |
|---|
Dictionary(String dictionary_name,
HashMap<String,Integer> dictonary,
boolean exclusion)
Object used for dictionary matching.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDictionaryName()
A description of the values contained in the dictionary.
|
HashMap<String,Integer> |
getDictonary()
The values within this dictionary.
|
boolean |
isExclusion()
Returns if this dictionary is used for password exclusion or not.
|
public Dictionary(String dictionary_name, HashMap<String,Integer> dictonary, boolean exclusion)
dictionary_name - unique name of dictionary.dictonary - Map with the word and it's rank.exclusion - true when desiring to disallow any password contained in this dictionary; false otherwise.public HashMap<String,Integer> getDictonary()
public boolean isExclusion()
public String getDictionaryName()
Copyright © 2016. All rights reserved.