apache/flume — pull request #4 by PieterJanVanAeken (2013-12-24 10:30:27+00:00)
Title: Add methods to retrieve information about the file

The getFileName() and getFilePath() methods are useful for a custom deserializer that works with a ResettableFileInputStream. At the moment, there is no way in a Deserializer to find out which file it is processing. The other option is to make the FileInfo available in the Deserializer but imo this looks like the better of the two options.