org.extex.scanner.stream.observer.file
Interface OpenFileObserver
- All Known Implementing Classes:
- FileOpenObserver, FileRecorder, 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$
- 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. |
update
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 openedfiletype - the type of the file to be opened. The type is resolved
via the configuration to a file name patternstream - the input stream to read from