public class DSHeader extends Object implements Serializable
RecordStream to assemble records.| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(DSHeader header)
Appends the definition of the given header to this one.
|
void |
clear()
Clears all stored definitions.
|
int |
getColumnIndex(String name)
Returns the index of a column.
|
String |
getColumnLabel(String name)
Returns the label of a column.
|
Iterable<String> |
getColumnNames() |
boolean |
hasDefinitions() |
void |
setColumn(String name,
int index,
String label)
Stores a column definition.
|
public int getColumnIndex(String name)
name - the column namepublic String getColumnLabel(String name)
name - the column namepublic void setColumn(String name, int index, String label)
name - the column nameindex - the column index, 0 basedlabel - the column label (A, B, ...)public boolean hasDefinitions()
public void clear()
public void addHeader(DSHeader header)
header - the header to appendCopyright © 2025 European Spallation Source. All rights reserved.