org.chorem.pollen.ui.utils
Class CSVAccountUtil

java.lang.Object
  extended by org.chorem.pollen.ui.utils.CSVAccountUtil

public class CSVAccountUtil
extends Object

Classe permettant de gérer l'import de listes de votants au format CSV.

Version:
$Id: CSVAccountUtil.java 2800 2009-11-24 09:42:49Z fdesbois $
Author:
rannou

Constructor Summary
CSVAccountUtil()
           
 
Method Summary
static List<PollAccountDTO> importList(Reader reader)
          Import d'une liste de votants à partir d'un flux (fichier CSV).
static List<PollAccountDTO> importList(org.apache.tapestry5.upload.services.UploadedFile file)
          Import d'une liste de votants à partir d'un fichier CSV.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVAccountUtil

public CSVAccountUtil()
Method Detail

importList

public static List<PollAccountDTO> importList(Reader reader)
Import d'une liste de votants à partir d'un flux (fichier CSV).

Parameters:
reader - le flux
Returns:
la liste de votants

importList

public static List<PollAccountDTO> importList(org.apache.tapestry5.upload.services.UploadedFile file)
Import d'une liste de votants à partir d'un fichier CSV.

Parameters:
file - le fichier CSV


Copyright © 2009-2010 CodeLutin. All Rights Reserved.