org.nuiton.util.csv
Class Export<E>

java.lang.Object
  extended by org.nuiton.util.csv.Export<E>

public class Export<E>
extends Object

TODO

Since:
2.4
Author:
bleny , tchemit

Field Summary
protected  Collection<E> data
           
protected  ExportModel<E> model
           
 
Constructor Summary
protected Export(ExportModel<E> model, Collection<E> data)
           
 
Method Summary
static
<E> Export<E>
newExport(ExportModel<E> model, Collection<E> data)
           
 InputStream startExport()
           
 String startExportAsString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

protected ExportModel<E> model

data

protected Collection<E> data
Constructor Detail

Export

protected Export(ExportModel<E> model,
                 Collection<E> data)
Method Detail

newExport

public static <E> Export<E> newExport(ExportModel<E> model,
                                      Collection<E> data)

startExportAsString

public String startExportAsString()
                           throws Exception
Throws:
Exception

startExport

public InputStream startExport()
                        throws Exception
Throws:
Exception


Copyright © 2011 CodeLutin. All Rights Reserved.