|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.web_visage.ichatserv.fwk.UpdatableStringFileList
public class UpdatableStringFileList
List populated from file containing strings separated with line breaks. This list can be updated dynamically.
Constructor Summary | |
---|---|
UpdatableStringFileList(java.lang.String fileName)
Constructor. |
Method Summary | |
---|---|
boolean |
exists(java.lang.String ip)
Checks whether given ip is banned. |
void |
fileChanges(java.lang.String aFileName)
Re-reads string list on file change. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpdatableStringFileList(java.lang.String fileName)
fileName
- Method Detail |
---|
public void fileChanges(java.lang.String aFileName)
fileChanges
in interface FileChangeListener
FileChangeListener.fileChanges(java.lang.String)
public boolean exists(java.lang.String ip)
ip
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |