Documentation of 'edu.wisc.ssec.mcidas.adde.GetAreaFile' Java class
GetAreaFile
edu.wisc.ssec.mcidas.adde

Class GetAreaFile

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.util.EventListener


    public class GetAreaFile
    extends java.lang.Object
    implements java.awt.event.ActionListener
    Application to fetch an AREA file and write it as a local file. It is command-line driven, but can be forced into "gui mode" by either using the '-gui' option or specifying the URL 'adde://image?' as the source (although in the latter case, you still need to the desitnation filename on the command line; whereas with the -gui option, a FileChooser is presented to the user).
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int AD_AUXOFFSET
      AD_AUXOFFSET - byte offset to start of auxilliary data section
      static int AD_CALOFFSET
      AD_CALOFFSET - byte offset to start of calibration section
      static int AD_DATAOFFSET
      AD_DATAOFFSET - byte offset to start of data block
      static int AD_DATAWIDTH
      AD_DATAWIDTH - number of bytes per data point
      static int AD_NAVOFFSET
      AD_NAVOFFSET - byte offset to start of navigation block
    • Constructor Summary

      Constructors 
      Constructor and Description
      GetAreaFile(java.lang.String[] args) 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void actionPerformed(java.awt.event.ActionEvent e) 
      void doRequest(java.util.Properties params) 
      static void main(java.lang.String[] args) 
      java.lang.String makeADDEString(java.util.Properties params)
      make the ADDE request string out of the various parameters the host, group and descr are required.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • AD_DATAOFFSET

        public static final int AD_DATAOFFSET
        AD_DATAOFFSET - byte offset to start of data block
        See Also:
        Constant Field Values
      • AD_NAVOFFSET

        public static final int AD_NAVOFFSET
        AD_NAVOFFSET - byte offset to start of navigation block
        See Also:
        Constant Field Values
      • AD_AUXOFFSET

        public static final int AD_AUXOFFSET
        AD_AUXOFFSET - byte offset to start of auxilliary data section
        See Also:
        Constant Field Values
      • AD_CALOFFSET

        public static final int AD_CALOFFSET
        AD_CALOFFSET - byte offset to start of calibration section
        See Also:
        Constant Field Values
      • AD_DATAWIDTH

        public static final int AD_DATAWIDTH
        AD_DATAWIDTH - number of bytes per data point
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetAreaFile

        public GetAreaFile(java.lang.String[] args)
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
      • actionPerformed

        public void actionPerformed(java.awt.event.ActionEvent e)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
      • doRequest

        public void doRequest(java.util.Properties params)
      • makeADDEString

        public java.lang.String makeADDEString(java.util.Properties params)
        make the ADDE request string out of the various parameters the host, group and descr are required. Everything else is optional. version=1 is appended...

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.