fr.ifremer.wao.ui.components
Class ImportFieldSet

java.lang.Object
  extended by fr.ifremer.wao.ui.components.ImportFieldSet

public class ImportFieldSet
extends Object

This component is used to import a csvFile using a form. The page using this component must provide a ImportEngine to execute the import when csv file is uploaded. An event "imported" will be triggered after success. The page can use an "onImported(ErrorReport report)" method to display errors and informations from import. Created: 18 juin 2010

Version:
$Id: ImportFieldSet.java 650 2010-10-03 15:14:48Z fdesbois $
Author:
fdesbois

Field Summary
protected static String EVENT_IMPORTED
          Event triggered after form submission success
protected static String FORMAT_DEFAULT_VALUE
           
protected static String MIMETYPE_GZIP
           
 
Constructor Summary
ImportFieldSet()
           
 
Method Summary
protected  InputStream getStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_IMPORTED

protected static final String EVENT_IMPORTED
Event triggered after form submission success

See Also:
Constant Field Values

MIMETYPE_GZIP

protected static final String MIMETYPE_GZIP
See Also:
Constant Field Values

FORMAT_DEFAULT_VALUE

protected static final String FORMAT_DEFAULT_VALUE
See Also:
Constant Field Values
Constructor Detail

ImportFieldSet

public ImportFieldSet()
Method Detail

getStream

protected InputStream getStream()
                         throws IOException
Throws:
IOException


Copyright © 2009-2012 Ifremer. All Rights Reserved.