public interface ExportTable
| Modifier and Type | Method and Description |
|---|---|
void |
addDataRow(Object... data)
This method adds a new row of data to the table.
|
void |
addHeaderRow(String... titles)
Defines a header row.
|
void |
createTable(String title)
The method creates the table.
|
InputStream |
exportTable()
This method puts the data into a stream that can be saved/sent to the client.
|
void createTable(String title)
title - name of the table if supported by the implementationvoid addHeaderRow(String... titles)
titles - a collection of strings to be used as column titlesvoid addDataRow(Object... data)
data - the dataInputStream exportTable()
InputStream that can be used for download.Copyright © 2025 European Spallation Source. All rights reserved.