Package uk.ac.starlink.table

Examples of uk.ac.starlink.table.StarTableFactory


        _progressPanel = _getProgressPanel("Downloading query results ...");
        _progressPanel.start();

        try {
            StarTableFactory factory = new StarTableFactory();
            StarTable starTable = null;
            if (RegCapabilityInterface.SIA_STDID.equals(_standardId)) {
                _progressPanel.setText("Performing SIAP query: " + _url);
                // convert raSize and decSize to degrees for query
                DalQuery sq = new DalQuery(_url.toString(), ra, dec, radius / 60.);
View Full Code Here



    // Returns the factory object to use to read in tables
    private static StarTableFactory _getStarTableFactory() {
        if (_starTableFactory == null) {
            _starTableFactory = new StarTableFactory();
        }
        return _starTableFactory;
    }
View Full Code Here

     * @return a VoTable
     * @throws IOException on error
     */
    public static VoTable createVoTable(URL url, String id, String name, Catalog catalog)
            throws IOException {
        StarTableFactory factory = _getStarTableFactory();
        StarTable starTable = factory.makeStarTable(url, null);
        VoTable voTable = createVoTable(starTable, catalog, MAX_ROWS);
        if (name == null) {
            name = starTable.getName();
        }
        if (name == null) {
View Full Code Here

     * @param name display name for the catalog
     * @return a VoTable
     * @throws IOException on error
     */
    public static VoTable createVoTable(DataSource datsrc, String id, String name) throws IOException {
        StarTableFactory factory = _getStarTableFactory();
        StarTable starTable = factory.makeStarTable(datsrc);
        VoTable voTable = createVoTable(starTable, null, MAX_ROWS);
        if (name == null) {
            name = starTable.getName();
        }
        if (name == null) {
View Full Code Here

TOP

Related Classes of uk.ac.starlink.table.StarTableFactory

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.