raccoon.core.file.endpoint.poller
Class FolderListener

java.lang.Object
  extended by raccoon.core.file.endpoint.poller.FolderListener

public class FolderListener
extends java.lang.Object

TODO Document this class.

Since:
Raccoon v1.0
Version:
$Id:$
Author:
Cedric ROUVRAIS

Nested Class Summary
(package private)  class FolderListener.Listener
           
 
Constructor Summary
FolderListener()
           
 
Method Summary
 FilePoller getFilePoller()
           
 long getPollingInterval()
           
 java.io.File getScanFolder()
           
 boolean hasNext()
          Checks if there is a file available for handling.
 void load()
           
 java.io.File next()
          Pops from the stack the next available file.
 void setFilePoller(FilePoller pFilePoller)
           
 void setPollingInterval(long pPollingInterval)
           
 void setScanFolder(java.io.File pScanFolder)
           
 void unload()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderListener

public FolderListener()
Method Detail

getScanFolder

public java.io.File getScanFolder()

setScanFolder

public void setScanFolder(java.io.File pScanFolder)

getPollingInterval

public long getPollingInterval()

setPollingInterval

public void setPollingInterval(long pPollingInterval)

hasNext

public boolean hasNext()
Checks if there is a file available for handling.

Returns:
true if there is a file available in the list.

next

public java.io.File next()
Pops from the stack the next available file.

Returns:
the next file in the folder.

load

public void load()

unload

public void unload()

setFilePoller

public void setFilePoller(FilePoller pFilePoller)

getFilePoller

public FilePoller getFilePoller()


Copyright null null. All Rights Reserved.