public class WordlistLoader extends Object
| Constructor and Description |
|---|
WordlistLoader() |
| Modifier and Type | Method and Description |
|---|---|
static HashSet |
getWordSet(File wordfile)
Loads a text file and adds every line as an entry to a HashSet (omitting
leading and trailing whitespace).
|
static HashSet |
getWordSet(Reader reader)
Reads lines from a Reader and adds every line as an entry to a HashSet (omitting
leading and trailing whitespace).
|
static Hashtable |
getWordtable(File wordfile)
Deprecated.
Use
getWordSet(File) instead |
static Hashtable |
getWordtable(String wordfile)
Deprecated.
Use
getWordSet(File) instead |
static Hashtable |
getWordtable(String path,
String wordfile)
Deprecated.
Use
getWordSet(File) instead |
public static HashSet getWordSet(File wordfile) throws IOException
wordfile - File containing the wordlistIOExceptionpublic static HashSet getWordSet(Reader reader) throws IOException
reader - Reader containing the wordlistIOExceptionpublic static Hashtable getWordtable(String path, String wordfile) throws IOException
getWordSet(File) insteadpath - Path to the wordlistwordfile - Name of the wordlistIOExceptionpublic static Hashtable getWordtable(String wordfile) throws IOException
getWordSet(File) insteadwordfile - Complete path to the wordlistIOExceptionpublic static Hashtable getWordtable(File wordfile) throws IOException
getWordSet(File) insteadwordfile - File object that points to the wordlistIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.