nom.tam.fits
Interface TableData

All Known Implementing Classes:
AsciiTable, BinaryTable

public interface TableData

This class allows FITS binary and ASCII tables to be accessed via a common interface.


Method Summary
 int addColumn(java.lang.Object newCol)
           
 int addRow(java.lang.Object[] newRow)
           
 java.lang.Object getColumn(int col)
           
 java.lang.Object getElement(int row, int col)
           
 int getNCols()
           
 int getNRows()
           
 java.lang.Object[] getRow(int row)
           
 void setColumn(int col, java.lang.Object newCol)
           
 void setElement(int row, int col, java.lang.Object element)
           
 void setRow(int row, java.lang.Object[] newRow)
           
 

Method Detail

getRow

java.lang.Object[] getRow(int row)
                          throws FitsException
Throws:
FitsException

getColumn

java.lang.Object getColumn(int col)
                           throws FitsException
Throws:
FitsException

getElement

java.lang.Object getElement(int row,
                            int col)
                            throws FitsException
Throws:
FitsException

setRow

void setRow(int row,
            java.lang.Object[] newRow)
            throws FitsException
Throws:
FitsException

setColumn

void setColumn(int col,
               java.lang.Object newCol)
               throws FitsException
Throws:
FitsException

setElement

void setElement(int row,
                int col,
                java.lang.Object element)
                throws FitsException
Throws:
FitsException

addRow

int addRow(java.lang.Object[] newRow)
           throws FitsException
Throws:
FitsException

addColumn

int addColumn(java.lang.Object newCol)
              throws FitsException
Throws:
FitsException

getNCols

int getNCols()

getNRows

int getNRows()