Class TopcatCgiQuery

java.lang.Object
uk.ac.starlink.util.CgiQuery
uk.ac.starlink.topcat.func.TopcatCgiQuery

public class TopcatCgiQuery extends uk.ac.starlink.util.CgiQuery
Extends CgiQuery so it can write to a local file.
Since:
1 Oct 2004
Author:
Mark Taylor (Starlink)
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a CGI query with no arguments.
  • Method Summary

    Modifier and Type
    Method
    Description
    Sends this query and writes the result to a temporary file.

    Methods inherited from class uk.ac.starlink.util.CgiQuery

    addArgument, addArgument, addArgument, addArgument, equals, formatDouble, formatDouble, formatFloat, hashCode, toString, toURL

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TopcatCgiQuery

      public TopcatCgiQuery(String base)
      Constructs a CGI query with no arguments.
      Parameters:
      base - base part of the CGI URL (the bit before the '?')
  • Method Details

    • executeAsLocalFile

      public File executeAsLocalFile(String extension) throws IOException
      Sends this query and writes the result to a temporary file.
      Parameters:
      extension - file extension of file to write to
      Returns:
      file to which query result was written
      Throws:
      IOException