nom.tam.fits.test
Class AsciiTableTester
java.lang.Object
nom.tam.fits.test.AsciiTableTester
public class AsciiTableTester
- extends java.lang.Object
This class tests the AsciiTableHDU and AsciiTable FITS
classes and implicitly the ByteFormatter and ByteParser
classes in the nam.tam.util library.
Tests include:
Create columns of every type
Read columns of every type
Create a table column by column
Create a table row by row
Use deferred input on rows
Use deferred input on elements
Read rows, columns and elements from in-memory kernel.
Specify width of columns.
Rewrite data/header in place.
Set and read null elements.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsciiTableTester
public AsciiTableTester()
writeFile
public void writeFile(Fits f,
java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
test
public void test()
throws java.lang.Exception
- Throws:
java.lang.Exception
createByColumn
public void createByColumn()
throws java.lang.Exception
- Throws:
java.lang.Exception
createByRow
public void createByRow()
throws java.lang.Exception
- Throws:
java.lang.Exception
readByRow
public void readByRow()
throws java.lang.Exception
- Throws:
java.lang.Exception
readByColumn
public void readByColumn()
throws java.lang.Exception
- Throws:
java.lang.Exception
readByElement
public void readByElement()
throws java.lang.Exception
- Throws:
java.lang.Exception
modifyTable
public void modifyTable()
throws java.lang.Exception
- Throws:
java.lang.Exception
delete
public void delete()
throws java.lang.Exception
- Throws:
java.lang.Exception