com.voicent.webalert
Class BroadcastListFile

java.lang.Object
  extended bycom.voicent.webalert.BroadcastListFile
All Implemented Interfaces:
BroadcastList

public class BroadcastListFile
extends java.lang.Object
implements BroadcastList

fixed format: [ name, phone number, [other values]* CRLF ]*


Field Summary
 
Fields inherited from interface com.voicent.webalert.BroadcastList
NAME, PHONE
 
Constructor Summary
BroadcastListFile(java.lang.String filename)
           
 
Method Summary
 int getTotal()
          total number of records
 java.lang.String getValue(java.lang.String name)
          get the current record values
 boolean next()
          move the record forward
 void reset()
          move the current record to the beginning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BroadcastListFile

public BroadcastListFile(java.lang.String filename)
Method Detail

next

public boolean next()
Description copied from interface: BroadcastList
move the record forward

Specified by:
next in interface BroadcastList

getValue

public java.lang.String getValue(java.lang.String name)
Description copied from interface: BroadcastList
get the current record values

Specified by:
getValue in interface BroadcastList
Parameters:
name - parameter name

getTotal

public int getTotal()
Description copied from interface: BroadcastList
total number of records

Specified by:
getTotal in interface BroadcastList

reset

public void reset()
Description copied from interface: BroadcastList
move the current record to the beginning

Specified by:
reset in interface BroadcastList