Package gov.usgs.util

Interface FileListenerInterface

All Known Implementing Classes:
InputWedge

public interface FileListenerInterface
An object that listens for files. Typically used with a DirectoryPoller for handling files.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFile(File file)
    Called with any files to be processed.
  • Method Details

    • onFile

      void onFile(File file) throws Exception
      Called with any files to be processed.
      Parameters:
      file - file to be processed.
      Throws:
      Exception