org.apache.struts2.showcase.hangman
Class PropertiesVocabSource
java.lang.Object
org.apache.struts2.showcase.hangman.PropertiesVocabSource
- All Implemented Interfaces:
- VocabSource
public class PropertiesVocabSource
- extends Object
- implements VocabSource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesVocabSource
public PropertiesVocabSource()
PropertiesVocabSource
public PropertiesVocabSource(Properties prop)
setVocabProperties
public void setVocabProperties(Properties prop)
getRandomVocab
public Vocab getRandomVocab()
- Specified by:
getRandomVocab in interface VocabSource
readVocab
protected List<Vocab> readVocab(Properties prop)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.