Class MLogParser


  • public class MLogParser
    extends java.lang.Object
    parse the binary mlog or snapshot to text
    • Constructor Summary

      Constructors 
      Constructor Description
      MLogParser()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String checkRequiredArg​(java.lang.String arg, java.lang.String name, org.apache.commons.cli.CommandLine commandLine)  
      static org.apache.commons.cli.Options createOptions()
      create the commandline options.
      static void main​(java.lang.String[] args)  
      static void parseBasicParams​(org.apache.commons.cli.CommandLine commandLine)  
      static void parseFromFile​(java.lang.String inputFile, java.lang.String outputFile)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MLogParser

        public MLogParser()
    • Method Detail

      • createOptions

        public static org.apache.commons.cli.Options createOptions()
        create the commandline options.
        Returns:
        object Options
      • main

        public static void main​(java.lang.String[] args)
      • parseBasicParams

        public static void parseBasicParams​(org.apache.commons.cli.CommandLine commandLine)
                                     throws org.apache.commons.cli.ParseException
        Throws:
        org.apache.commons.cli.ParseException
      • checkRequiredArg

        public static java.lang.String checkRequiredArg​(java.lang.String arg,
                                                        java.lang.String name,
                                                        org.apache.commons.cli.CommandLine commandLine)
                                                 throws org.apache.commons.cli.ParseException
        Throws:
        org.apache.commons.cli.ParseException
      • parseFromFile

        public static void parseFromFile​(java.lang.String inputFile,
                                         java.lang.String outputFile)
                                  throws java.io.IOException
        Throws:
        java.io.IOException