org.hardtokenmgmt.admin.control
Class DefaultBatchAdminImportFileAnalyser

java.lang.Object
  extended by org.hardtokenmgmt.admin.control.DefaultBatchAdminImportFileAnalyser
All Implemented Interfaces:
IBatchAdminImportFileAnalyser

public class DefaultBatchAdminImportFileAnalyser
extends java.lang.Object
implements IBatchAdminImportFileAnalyser

Default batch admin import file analyser with support for csv files.

Version:
$Id$
Author:
Philip Vendil 15 mar 2009

Constructor Summary
DefaultBatchAdminImportFileAnalyser()
           
 
Method Summary
 IBatchAdminImportFileParser getParser(java.io.File file)
          Tries to determine which batch file import parser that should be used for a given file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBatchAdminImportFileAnalyser

public DefaultBatchAdminImportFileAnalyser()
Method Detail

getParser

public IBatchAdminImportFileParser getParser(java.io.File file)
Description copied from interface: IBatchAdminImportFileAnalyser
Tries to determine which batch file import parser that should be used for a given file.

Specified by:
getParser in interface IBatchAdminImportFileAnalyser
Parameters:
file - the file to analyse.
Returns:
the appropriate file parser or null if file isn't supported.
See Also:
IBatchAdminImportFileAnalyser.getParser(java.io.File)