fr.ifremer.wao.ui.components
Class ImportFieldSet
java.lang.Object
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
|
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 |
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
ImportFieldSet
public ImportFieldSet()
getStream
protected java.io.InputStream getStream()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2009-2010 Ifremer. All Rights Reserved.