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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Disable the log filestatic void
Create a new log filestatic String
Return the log file namestatic String
Get the settings folder name and if necessary, create the folder since it may not exist.static void
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
-
Constructor Details
-
PamguardFX
public PamguardFX()
-
-
Method Details
-
start
- Specified by:
start
in classjavafx.application.Application
- Throws:
Exception
-
main
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
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
Return the log file name -
disableLogFile
public static void disableLogFile()Disable the log file -
enableLogFile
public static void enableLogFile()Create a new log file
-