gov.nasa.gsfc.drl.rtstps.core.output.hdf5.UnitTest
Class PrintUserBlock

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.core.output.hdf5.UnitTest.PrintUserBlock

public class PrintUserBlock
extends java.lang.Object

Print the UserBlock in specified HDF file to the console.


Constructor Summary
PrintUserBlock()
           
 
Method Summary
static void main(java.lang.String[] args)
           
(package private) static void xmlFormat(java.lang.String doc, java.io.OutputStream out)
          Pretty print the XML string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintUserBlock

public PrintUserBlock()
Method Detail

xmlFormat

static void xmlFormat(java.lang.String doc,
                      java.io.OutputStream out)
               throws RtStpsException
Pretty print the XML string

Parameters:
doc - the String containing the XML
out - the output stream (likely System.out)
Throws:
RtStpsException - any wrapped XML based exceptions

main

public static void main(java.lang.String[] args)
Parameters:
args - the RDR HDF file