Package soundtrap
Class STXMLFile
java.lang.Object
soundtrap.STXMLFile
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic FilefindXMLFile(File otherFileName) Find a sound trap XML file based on a rather too large set of possiblilities created as John keeps changing his code.org.pamguard.x3.sud.SUDClickDetectorInfostatic voidstatic STXMLFileopenXMLFile(File xmlFile) static STXMLFileopenXMLFile(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.voidsetDateFormat(String dateFormat) voidsetSudDetectorInfo(org.pamguard.x3.sud.SUDClickDetectorInfo sudDetectorInfo)
-
Field Details
-
defaultDateFormat
- See Also:
-
-
Method Details
-
main
-
getDateFormat
-
setDateFormat
-
openXMLFile
-
openXMLFile
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
- Returns:
- the cdetInfo
-
getDwvInfo
- Returns:
- the dwvInfo
-
getWavInfo
- Returns:
- the wavInfo
-
getXmlFile
- Returns:
- the xmlFile
-
getSoundTrapId
- Returns:
- the soundTrapId
-
findXMLFile
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
-