Examples of VOTableWriter


Examples of uk.ac.starlink.votable.VOTableWriter

     *
     * @param os the output stream
     * @throws IOException on error
     */
    public void saveAsVOTable(OutputStream os) throws IOException {
        new VOTableWriter().writeStarTable(getStarTable(), os);
    }
View Full Code Here

Examples of uk.ac.starlink.votable.VOTableWriter

            tmpfile.deleteOnExit();
            OutputStream ostrm = new BufferedOutputStream(new FileOutputStream(tmpfile));
            final StarTable starTable = navigator.getStarTable();
            name = starTable.getName();
            try {
                new VOTableWriter(DataFormat.TABLEDATA, true).writeStarTable(starTable, ostrm);
            }
            catch (IOException e) {
                //noinspection ResultOfMethodCallIgnored
                tmpfile.delete();
                throw e;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.