public class TapWriter extends Object
| Constructor and Description | 
|---|
TapWriter(DataFormat dfmt,
         VOTableVersion version,
         long maxrec)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
main(String[] args)
Test harness. 
 | 
void | 
writeVOTable(ResultSet rset,
            OutputStream ostrm)
Writes a result set to an output stream as a VOTable. 
 | 
public TapWriter(DataFormat dfmt, VOTableVersion version, long maxrec)
dfmt - selects VOTable serialization format
               (TABLEDATA, BINARY, BINARY2, FITS)version - selects VOTable versionmaxrec - maximum record count before overflow;
                  negative value means no limitpublic void writeVOTable(ResultSet rset, OutputStream ostrm) throws IOException, SQLException
rset - result setostrm - destination streamIOExceptionSQLExceptionpublic static void main(String[] args) throws IOException, SQLException
IOExceptionSQLExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.