de.dante.extex.scanner.stream.observer.file
Interface OpenFileObserver

All Known Implementing Classes:
FileOpenObserver, OpenFileObserverList

public interface OpenFileObserver

This interface describes the ability to receive a notification just after a new file based stream has been opened.

Version:
$Revision: 1.3 $
Author:
Gerd Neugebauer

Method Summary
 void update(java.lang.String filename, java.lang.String filetype, java.io.InputStream stream)
          This method is meant to be invoked just after a new file based stream has been opened.
 

Method Detail

update

public void update(java.lang.String filename,
                   java.lang.String filetype,
                   java.io.InputStream stream)
This method is meant to be invoked just after a new file based stream has been opened.

Parameters:
filename - the name of the file to be opened
filetype - the type of the file to be opened. The type is resolved via the configuration to a file name pattern
stream - the input stream to read from