net.sf.jdiskcatalog.api
Interface FileAnalyser

All Known Implementing Classes:
BasicFileAnalyser, FileStreamAnalyser

public interface FileAnalyser

Analyses a given file.

Version:
$Id$
Author:
Przemek Więch

Method Summary
 java.util.Map<java.lang.String,java.lang.Object> analyse(java.io.File file, NodeInfo nodeInfo)
          Analyses a given file.
 

Method Detail

analyse

java.util.Map<java.lang.String,java.lang.Object> analyse(java.io.File file,
                                                         NodeInfo nodeInfo)
                                                         throws java.io.IOException
Analyses a given file.

Parameters:
file - file to be analysed
nodeInfo - contains information about this file that was gathered up to now.
Returns:
map containing attributes to be added to the file information.
Throws:
java.io.IOException


Copyright © 2007. All Rights Reserved.