com.generationjava.io
Class FilePoller

java.lang.Object
  extended bycom.generationjava.io.FilePoller
All Implemented Interfaces:
Runnable

public class FilePoller
extends Object
implements Runnable


Constructor Summary
FilePoller()
           
 
Method Summary
 void addListener(PollListener listener)
           
 void clearData()
           
 String getData()
           
static void main(String[] strs)
           
static void pollFile(String filename)
           
 void run()
           
 void setDelay(long delay)
           
 void setFile(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePoller

public FilePoller()
Method Detail

main

public static void main(String[] strs)

pollFile

public static void pollFile(String filename)

setFile

public void setFile(File file)

setDelay

public void setDelay(long delay)

addListener

public void addListener(PollListener listener)

run

public void run()
Specified by:
run in interface Runnable

getData

public String getData()

clearData

public void clearData()


Copyright © 2000-2005 OSJava. All Rights Reserved.