proguard.obfuscate
Class DictionaryNameFactory
java.lang.Object
proguard.obfuscate.DictionaryNameFactory
- All Implemented Interfaces:
- NameFactory
public class DictionaryNameFactory
- extends java.lang.Object
- implements NameFactory
This NameFactory generates names that are read from a
specified input file.
Comments (everything starting with '#' on a single line) are ignored.
|
Method Summary |
static void |
main(java.lang.String[] args)
|
java.lang.String |
nextName()
|
void |
reset()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DictionaryNameFactory
public DictionaryNameFactory(java.io.File file,
NameFactory nameFactory)
throws java.io.IOException
- Creates a new
DictionaryNameFactory.
- Parameters:
file - the file from which the names can be read.nameFactory - the name factory from which names will be retrieved
if the list of read names has been exhausted.
- Throws:
java.io.IOException
DictionaryNameFactory
public DictionaryNameFactory(DictionaryNameFactory dictionaryNameFactory,
NameFactory nameFactory)
- Creates a new
DictionaryNameFactory.
- Parameters:
dictionaryNameFactory - the dictionary name factory whose dictionary
will be used.nameFactory - the name factory from which names will be
retrieved if the list of read names has been
exhausted.
reset
public void reset()
- Specified by:
reset in interface NameFactory
nextName
public java.lang.String nextName()
- Specified by:
nextName in interface NameFactory
main
public static void main(java.lang.String[] args)