|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.utils.SummaryGenerator
public class SummaryGenerator
Generates summaries from a Packet log. This class does not work with the Aquadopp data.
Use As:
SummaryGenerator sg = new SummaryGenerator(className, deviceId, inputDirectory, summaryVars);
sg.run(); // Output XML is echoed to the console.
| Constructor Summary | |
|---|---|
SummaryGenerator(java.lang.String className,
long deviceId,
java.lang.String inputDirectory,
java.lang.String[] summaryVars)
Creates a new instance of SummaryBlockTest |
|
| Method Summary | |
|---|---|
BaseInstrumentService |
getInstrumentService()
|
protected void |
handleMetadataPacket(MetadataPacket metadataPacket)
Process a metadata packet an updates the instrument configuration object with the new metadata. |
static void |
main(java.lang.String[] args)
|
SiamRecord[] |
readDeviceLog()
Reads A device log and returns the contents as an array of SiamRecords |
void |
run()
|
void |
setAcceptedVariableNames(java.lang.String[] names)
|
void |
setInstrumentService(BaseInstrumentService instrumentService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SummaryGenerator(java.lang.String className,
long deviceId,
java.lang.String inputDirectory,
java.lang.String[] summaryVars)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.io.FileNotFoundException,
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.io.FileNotFoundException
java.io.IOException| Method Detail |
|---|
public void setAcceptedVariableNames(java.lang.String[] names)
public void run()
throws java.lang.Exception
java.lang.Exception
public SiamRecord[] readDeviceLog()
throws java.io.FileNotFoundException,
java.io.IOException,
NotSupportedException
java.io.FileNotFoundException
java.io.IOException
NotSupportedException
protected void handleMetadataPacket(MetadataPacket metadataPacket)
throws java.lang.Exception
metadataPacket - The metadata to process
java.lang.Exceptionpublic static void main(java.lang.String[] args)
public BaseInstrumentService getInstrumentService()
public void setInstrumentService(BaseInstrumentService instrumentService)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||