Class CDMStationProfileAdapter

All Implemented Interfaces:
Serializable, PropertiedBean, SoundingAdapter

public class CDMStationProfileAdapter extends SoundingAdapterImpl implements SoundingAdapter
The Class CDMStationProfileAdapter.
See Also:
  • Constructor Details

    • CDMStationProfileAdapter

      public CDMStationProfileAdapter()
      Instantiates a new CDM station profile adapter.
    • CDMStationProfileAdapter

      public CDMStationProfileAdapter(String filename)
      Instantiates a new CDM station profile adapter.
      Parameters:
      filename - the filename
    • CDMStationProfileAdapter

      public CDMStationProfileAdapter(File file)
      Instantiates a new CDM station profile adapter.
      Parameters:
      file - the file
  • Method Details

    • init

      protected void init() throws Exception
      Initialize the adapter. Set the initialization flag to true. Subclasses should call super.init() after doing what they need to do.
      Overrides:
      init in class SoundingAdapterImpl
      Throws:
      Exception - problem initializing
    • update

      public void update()
      Update internal data to reflect the current state
      Specified by:
      update in interface SoundingAdapter
    • getSource

      public String getSource()
      Get the source for this Adapter; used mostly by XML persistence.
      Specified by:
      getSource in interface SoundingAdapter
      Returns:
      the source (server or filename)
    • setSource

      public void setSource(String s)
      Set the source for this Adapter; used mostly by XML persistence.
      Specified by:
      setSource in interface SoundingAdapter
      Parameters:
      s - new source
    • initSoundingOb

      public SoundingOb initSoundingOb(SoundingOb sound)
      Initialize a sounding ob
      Specified by:
      initSoundingOb in interface SoundingAdapter
      Specified by:
      initSoundingOb in class SoundingAdapterImpl
      Parameters:
      sound - ob to initialize
      Returns:
      initialized observation