Class RecordingPrinter


  • public final class RecordingPrinter
    extends java.lang.Object
    Prints a flight recording to a PrintWriter.
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException,
                                java.lang.InterruptedException,
                                CouldNotLoadRecordingException
        Main method that will print a recording Usage:
         java org.openjdk.jmc.flightrecorder [-formatValues] [-brief] fileName
        
         - formatValues will format values in a suitable unit (may loose precision)
        
         - brief will print only parts of all event values.
         
        Throws:
        java.io.IOException
        java.lang.InterruptedException
        CouldNotLoadRecordingException
      • printEvent

        public void printEvent​(IItem e)