Package soundtrap

Class STXMLFile

java.lang.Object
soundtrap.STXMLFile

public class STXMLFile extends Object
  • Field Details

  • Method Details

    • main

      public static void main(String[] args)
    • getDateFormat

      public String getDateFormat()
    • setDateFormat

      public void setDateFormat(String dateFormat)
    • openXMLFile

      public static STXMLFile openXMLFile(File xmlFile)
    • openXMLFile

      public static STXMLFile openXMLFile(File xmlFile, String dateTimeFormat)
      Open an XML file for a corresponding wav file by changing the file end to xml and then trying to find an xml file in the same directory.
      Parameters:
      file - wav file (or valid xml file)
      Returns:
      an XML file, from which additional information can then be extracted.
    • getCdetInfo

      public CDETInfo getCdetInfo()
      Returns:
      the cdetInfo
    • getDwvInfo

      public DWVInfo getDwvInfo()
      Returns:
      the dwvInfo
    • getWavInfo

      public WAVInfo getWavInfo()
      Returns:
      the wavInfo
    • getXmlFile

      public File getXmlFile()
      Returns:
      the xmlFile
    • getSoundTrapId

      public String getSoundTrapId()
      Returns:
      the soundTrapId
    • findXMLFile

      public static File findXMLFile(File otherFileName)
      Find a sound trap XML file based on a rather too large set of possiblilities created as John keeps changing his code.
      Parameters:
      otherFileName -
      Returns:
      existing xml file or null.
    • getSudDetectorInfo

      public org.pamguard.x3.sud.SUDClickDetectorInfo getSudDetectorInfo()
      Returns:
      the sudDetectorInfo
    • setSudDetectorInfo

      public void setSudDetectorInfo(org.pamguard.x3.sud.SUDClickDetectorInfo sudDetectorInfo)
      Parameters:
      sudDetectorInfo - the sudDetectorInfo to set