fr.ifremer.wao.ui.components
Class ImportFieldSet

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

public class ImportFieldSet
extends java.lang.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 590 2010-07-06 14:09:45Z fdesbois $
Author:
fdesbois

Field Summary
protected static java.lang.String EVENT_IMPORTED
          Event triggered after form submission success
protected static java.lang.String FORMAT_DEFAULT_VALUE
           
protected static java.lang.String MIMETYPE_GZIP
           
 
Constructor Summary
ImportFieldSet()
           
 
Method Summary
protected  java.io.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 java.lang.String EVENT_IMPORTED
Event triggered after form submission success

See Also:
Constant Field Values

MIMETYPE_GZIP

protected static final java.lang.String MIMETYPE_GZIP
See Also:
Constant Field Values

FORMAT_DEFAULT_VALUE

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

ImportFieldSet

public ImportFieldSet()
Method Detail

getStream

protected java.io.InputStream getStream()
                                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2009-2010 Ifremer. All Rights Reserved.