org.objectweb.dsrg.sofa.repository.server.webapp.repositorydata
Class FileLister

java.lang.Object
  extended by org.objectweb.dsrg.sofa.repository.server.webapp.repositorydata.FileLister

public class FileLister
extends java.lang.Object

Helper class for listing all files of metadata in repository.


Nested Class Summary
static interface FileLister.FileFoundListener
          Listener class used for notifying about found files.
 
Constructor Summary
FileLister(java.io.File directory, FileLister.FileFoundListener fileFoundListener)
          Standard constructor.
 
Method Summary
 void listAllFiles()
          Main method for starting looking for files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileLister

public FileLister(java.io.File directory,
                  FileLister.FileFoundListener fileFoundListener)
Standard constructor.

Parameters:
directory - Root directory of repository
fileFoundListener - Listener of found files
Method Detail

listAllFiles

public void listAllFiles()
Main method for starting looking for files. If file is found, listener called for processing this event.