swpchat.client
Class StartTipFileReader
java.lang.Object
|
+--swpchat.client.SWPConfig
|
+--swpchat.client.StartTipFileReader
- public class StartTipFileReader
- extends SWPConfig
implements reading access to the text file that contains the Start Tips
- Author:
- Rene Woerzberger
Method Summary |
java.lang.String |
getRandomTip()
reads a random tip |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
CLS
static final java.lang.String CLS
START_TIP_FILE_LOCATION_PROPERTY
static final java.lang.String START_TIP_FILE_LOCATION_PROPERTY
BEGIN_ENTRY
static final java.lang.String BEGIN_ENTRY
hashTips
java.util.HashMap hashTips
startTipProps
java.util.Properties startTipProps
max
int max
StartTipFileReader
public StartTipFileReader()
- constuctor
getRandomTip
public java.lang.String getRandomTip()
- reads a random tip
- Returns:
- the tip