Package com.storedobject.office
Class CSVReport
java.lang.Object
com.storedobject.core.StreamContentProducer
com.storedobject.core.TextContentProducer
com.storedobject.office.TextReport
com.storedobject.office.CSVReport
- All Implemented Interfaces:
Executable
,ContentProducer
,ContentType
,Closeable
,AutoCloseable
,Runnable
-
Field Summary
Fields inherited from class com.storedobject.core.StreamContentProducer
out
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Set a value at a specific column in the current row.final void
Set values starting from the first column in the current row.final void
setValuesFrom
(int startingColumn, Object... values) Set values starting from a specific column in the current row.void
writeRow()
Write out the current row.Methods inherited from class com.storedobject.office.TextReport
execute, getDevice, getEntity, setEntity, setTransactionManager, view
Methods inherited from class com.storedobject.core.TextContentProducer
generateContent, getContentType, getFileExtension, setContentGenerator
Methods inherited from class com.storedobject.core.StreamContentProducer
abort, close, getContent, getError, getFileName, getTransactionManager, getWriter, produce
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.storedobject.core.ContentProducer
extractContent, getStreamData, getStreamDataProvider, getSystemEntity, saveTo, saveTo, saveTo, saveTo
Methods inherited from interface com.storedobject.core.ContentType
getLink, getMimeType, isAudio, isHTML, isImage, isLink, isMedia, isPDF, isText, isVideo
Methods inherited from interface com.storedobject.common.Executable
act, run
-
Constructor Details
-
CSVReport
Constructor.- Parameters:
device
- DevicecolumnCount
- Column count.
-
-
Method Details
-
setValue
Set a value at a specific column in the current row.- Parameters:
column
- Column,value
- Value to set.
-
setValuesFrom
Set values starting from a specific column in the current row.- Parameters:
startingColumn
- Column,values
- Values to set.
-
setValues
Set values starting from the first column in the current row.- Parameters:
values
- Values to set.
-
writeRow
-