Package net.ivoa.util

Examples of net.ivoa.util.BufferedDataOutputStream


    BasicHDU hdu = Fits.makeHDU(new Object[]{floats, vf, vs, vd, shorts,
        vbool});
    Fits f = new Fits();
    f.addHDU(hdu);

    BufferedDataOutputStream bdos = new BufferedDataOutputStream(
        new FileOutputStream("bt2.fits"));
    f.write(bdos);

    f = new Fits("bt2.fits");
    f.read();
View Full Code Here


    btab.addColumn(ints);

    Fits f = new Fits();
    f.addHDU(Fits.makeHDU(btab));

    BufferedDataOutputStream bdos = new BufferedDataOutputStream(
        new FileOutputStream("bt3.fits"));
    f.write(bdos);

    f = new Fits("bt3.fits");
    BinaryTableHDU bhdu = (BinaryTableHDU) f.getHDU(1);
View Full Code Here

TOP

Related Classes of net.ivoa.util.BufferedDataOutputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.