org.hyperic.sigar
Class FileTail
java.lang.Object
   org.hyperic.sigar.FileWatcher
org.hyperic.sigar.FileWatcher
       org.hyperic.sigar.FileTail
org.hyperic.sigar.FileTail
- public abstract class FileTail 
- extends FileWatcher
 
 
 
| Methods inherited from class org.hyperic.sigar.FileWatcher | 
| add, add, add, check, clear, getFiles, getInterval, onException, onNotFound, remove, remove, setInterval | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PROP_USE_SUDO
public static final java.lang.String PROP_USE_SUDO
- See Also:
- Constant Field Values
FileTail
public FileTail(Sigar sigar)
tail
public abstract void tail(FileInfo info,
                          java.io.Reader reader)
- 
 
useSudo
public void useSudo(boolean useSudo)
- 
 
onChange
public void onChange(FileInfo info)
- 
- Specified by:
- onChangein class- FileWatcher
 
- 
 
add
public FileInfo add(java.lang.String file)
             throws SigarException
- 
- Overrides:
- addin class- FileWatcher
 
- 
- Throws:
- SigarException
 
changed
protected boolean changed(FileInfo info)
                   throws SigarException,
                          SigarFileNotFoundException
- 
- Overrides:
- changedin class- FileWatcher
 
- 
- Throws:
- SigarException
- SigarFileNotFoundException
 
Copyright ? 2004-2009 Hyperic. All Rights Reserved.