|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hillenbrand.io.FileNotification
public class FileNotification
A class that notifies when a file (or a directory) has been changed.
Field Summary | |
---|---|
static long |
DEFAULT_INTERVAL
|
protected long |
interval
|
Constructor Summary | |
---|---|
FileNotification(java.io.File f,
FileChangeListener l)
|
|
FileNotification(java.lang.String filename,
FileChangeListener l)
|
Method Summary | |
---|---|
java.io.File |
getFile()
Returns the value of the file property. |
long |
getInterval()
Returns the interval (in ms) between the file checks. |
void |
setFile(java.io.File arg)
Assigns the value of the file property. |
void |
setInterval(long arg)
Sets the interval (in ms) between the file checks. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static long DEFAULT_INTERVAL
protected long interval
Constructor Detail |
---|
public FileNotification(java.io.File f, FileChangeListener l)
public FileNotification(java.lang.String filename, FileChangeListener l)
Method Detail |
---|
public java.io.File getFile()
public long getInterval()
public void setFile(java.io.File arg)
public void setInterval(long arg)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |