Package pamguard

Class PamguardFX

java.lang.Object
javafx.application.Application
pamguard.PamguardFX

public class PamguardFX extends javafx.application.Application
Pamguard main class.
Author:
Douglas Gillespie
  • Nested Class Summary

    Nested classes/interfaces inherited from class javafx.application.Application

    javafx.application.Application.Parameters
  • Field Summary

    Fields inherited from class javafx.application.Application

    STYLESHEET_CASPIAN, STYLESHEET_MODENA
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Disable the log file
    static void
    Create a new log file
    static String
    Return the log file name
    static String
    Get the settings folder name and if necessary, create the folder since it may not exist.
    static void
    main(String[] args)
    PAMGUARD can be started in three different modes.
    void
    start(javafx.stage.Stage primaryStage)
     

    Methods inherited from class javafx.application.Application

    getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PamguardFX

      public PamguardFX()
  • Method Details

    • start

      public void start(javafx.stage.Stage primaryStage) throws Exception
      Specified by:
      start in class javafx.application.Application
      Throws:
      Exception
    • main

      public static void main(String[] args)
      PAMGUARD can be started in three different modes.

      Normal mode (no args in) is for everyday data processing and collection.

      -v = Viewer mode which will connect to a database and re-display data from a given time period.

      -m = Mixed mode which will connect to a database, Sounds are analysed from file and new results written to the database, but other data, such as GPS data, are read from the database synchronised in time to the audio data to correctly reconstruct tracks, etc.

      Parameters:
      args -
    • getSettingsFolder

      public static String getSettingsFolder()
      Get the settings folder name and if necessary, create the folder since it may not exist. Originally found in PamSettingManager - moved here and made static
      Returns:
      folder name string, (with no file separator on the end)
    • getLogFileName

      public static String getLogFileName()
      Return the log file name
    • disableLogFile

      public static void disableLogFile()
      Disable the log file
    • enableLogFile

      public static void enableLogFile()
      Create a new log file