gov.nasa.gsfc.drl.rtstps.core.output
Class FileDevice

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.core.output.AbstractOutputDevice
      extended by gov.nasa.gsfc.drl.rtstps.core.output.FileDevice

 class FileDevice
extends AbstractOutputDevice

This device writes units to a file. auto-generated file name format: "t" + code + userLabel + currentDateTime + ".dat" code = 'p':packet, 'f':frame, "g":generic unit


Field Summary
private static java.text.SimpleDateFormat sdf
           
 
Fields inherited from class gov.nasa.gsfc.drl.rtstps.core.output.AbstractOutputDevice
output
 
Constructor Summary
FileDevice(org.w3c.dom.Element element, java.lang.String unitType)
           
 
Method Summary
(package private)  void shutdown()
           
 
Methods inherited from class gov.nasa.gsfc.drl.rtstps.core.output.AbstractOutputDevice
getOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sdf

private static java.text.SimpleDateFormat sdf
Constructor Detail

FileDevice

FileDevice(org.w3c.dom.Element element,
           java.lang.String unitType)
     throws RtStpsException
Throws:
RtStpsException
Method Detail

shutdown

void shutdown()
        throws RtStpsException
Specified by:
shutdown in class AbstractOutputDevice
Throws:
RtStpsException