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(Object newCol)
           
 int addRow(Object[] newRow)
           
 Object getColumn(int col)
           
 Object getElement(int row, int col)
           
 int getNCols()
           
 int getNRows()
           
 Object[] getRow(int row)
           
 void setColumn(int col, Object newCol)
           
 void setElement(int row, int col, Object element)
           
 void setRow(int row, Object[] newRow)
           
 

Method Detail

getRow

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

getColumn

Object getColumn(int col)
                 throws FitsException
Throws:
FitsException

getElement

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

setRow

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

setColumn

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

setElement

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

addRow

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

addColumn

int addColumn(Object newCol)
              throws FitsException
Throws:
FitsException

getNCols

int getNCols()

getNRows

int getNRows()


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.