org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ts
Interface TimeSeries

All Superinterfaces:
FolderItem, WorkspaceItem

public interface TimeSeries
extends FolderItem

Author:
Federico De Faveri defaveri@isti.cnr.it

Method Summary
 InputStream getCompressedData()
          Return the Time Series as compressed csv stream.
 InputStream getData()
          Return the Time Series as csv stream.
 List<String> getHeaderLabels()
          Return the Time Series header labels.
 int getNumberOfColumns()
          Return this Time Series number of columns.
 TimeSeriesInfo getTimeSeriesInfo()
          Return this TimeSeries info.
 
Methods inherited from interface org.gcube.portlets.user.homelibrary.home.workspace.folder.FolderItem
getFolderItemType, getLength, getMimeType, getWorkflowData, getWorkflowId, getWorkflowStatus, setWorkflowData, setWorkflowId, setWorkflowStatus
 
Methods inherited from interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
cloneItem, getAccounting, getCapabilities, getChildren, getCreationTime, getDescription, getId, getIdSharedFolder, getLastAction, getLastModificationTime, getName, getOwner, getParent, getPath, getProperties, getReaders, getType, isMarkedAsRead, isRoot, isShared, markAsRead, move, remove, removeChild, rename, setDescription
 

Method Detail

getNumberOfColumns

int getNumberOfColumns()
Return this Time Series number of columns.

Returns:
the number of columns.

getTimeSeriesInfo

TimeSeriesInfo getTimeSeriesInfo()
Return this TimeSeries info.

Returns:
the Time Series info.

getHeaderLabels

List<String> getHeaderLabels()
Return the Time Series header labels.

Returns:
a list of labels.

getData

InputStream getData()
                    throws InternalErrorException
Return the Time Series as csv stream.

Returns:
the csv stream.
Throws:
InternalErrorException - if an error occurs.

getCompressedData

InputStream getCompressedData()
                              throws InternalErrorException
Return the Time Series as compressed csv stream.

Returns:
the compressed csv stream.
Throws:
InternalErrorException - if an error occurs.


Copyright © 2013. All Rights Reserved.