public interface ICompressParameters
Modifier and Type | Method and Description |
---|---|
void |
addColumnsToTable(BinaryTableHDU hdu)
Add the columns that hold the metadata for the parameters that are column
based to the dhu.
|
ICompressParameters |
copy(ICompressOption option)
create a copy of this parameter for another option (normally a copy of
the current option).
|
void |
getValuesFromColumn(int index)
extract the option data from the column and set it in the option.
|
void |
getValuesFromHeader(IHeaderAccess header)
extract the option values that are represented by headers from the hdu
header.
|
void |
initializeColumns(IHeaderAccess header,
BinaryTable binaryTable,
int size)
initialize the column based options of the compression algorithm from the
binary table.
|
void |
initializeColumns(int length)
initialize the column based parameter to the specified column length.
|
void |
setValueFromColumn(int index)
set the option values, that are column based, into the columns at the
specified index.
|
void |
setValuesInHeader(IHeaderAccess header)
set the options values, that are hdu based, into the header.
|
void addColumnsToTable(BinaryTableHDU hdu) throws FitsException
hdu
- the hdu to add the columnFitsException
- if the column could not be added.ICompressParameters copy(ICompressOption option)
option
- the new option for the copied parametervoid getValuesFromColumn(int index)
index
- the index in the column.void getValuesFromHeader(IHeaderAccess header)
header
- the header to extract the option values.void initializeColumns(IHeaderAccess header, BinaryTable binaryTable, int size) throws FitsException
header
- the header of the hdubinaryTable
- the table of the hdusize
- the column sizeFitsException
- if the column could not be initializedvoid initializeColumns(int length)
length
- the column length.void setValueFromColumn(int index)
index
- the index in the columns to set.void setValuesInHeader(IHeaderAccess header) throws HeaderCardException
header
- the header to set the option valueHeaderCardException
- if the header could not be set.Copyright © 1996–2016 nom-tam-fits. All rights reserved.