Package d3
Class D3XMLFile
java.lang.Object
d3.D3XMLFile
Class for unpacking XML metadata files created from Mark Johnson's D3 software
- Author:
 - Doug Gillespie
 
- 
Method Summary
Modifier and TypeMethodDescriptionlongint[]longlongstatic longgetXMLStartTime(File file) Get the start time from the XML filestatic D3XMLFileopenXMLFile(File file) 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. 
- 
Method Details
- 
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.
 
 - 
getSensorList
public int[] getSensorList() - 
getXMLStartTime
Get the start time from the XML file- Parameters:
 file- xml file- Returns:
 - time in milliseconds or Long.MIN_VALUE if it fails.
 
 - 
getStartTime
public long getStartTime()- Returns:
 - the startTime
 
 - 
getEndTime
public long getEndTime()- Returns:
 - the endTime
 
 - 
getFullId
- Returns:
 - the fullId
 
 - 
getShortId
public long getShortId()- Returns:
 - the shortId
 
 
 -