Class LogtoolCore


  • @Service
    public class LogtoolCore
    extends Object
    Reads a state log file, re-creates and updates objects, calls listeners.
    Author:
    John Collins
    • Constructor Detail

      • LogtoolCore

        public LogtoolCore()
        Default constructor
    • Method Detail

      • postConstruct

        @PostConstruct
        public void postConstruct()
      • setPerTimeslotPause

        public void setPerTimeslotPause​(int msec)
        Sets the per-timeslot pause value, used by Visualizer
      • processCmdLine

        public String processCmdLine​(String[] args)
        Processes a command line, providing a state-log file from the local filesystem, or a remote URL.
      • readStateLog

        public String readStateLog​(String source,
                                   Analyzer... tools)
        Reads the given state-log source using the DomainObjectReader. Specify the state-log as a local filename or a remote URL, or pass "-" or null to read from standard-input.
      • readStateLog

        public String readStateLog​(File inputFile,
                                   Analyzer... tools)
        Reads state-log from given input file using the DomainObjectReader.
      • readStateLog

        public String readStateLog​(URL inputURL,
                                   Analyzer... tools)
        Reads state-log from given input url using the DomainObjectReader.
      • readStateLog

        public String readStateLog​(InputStream inputStream,
                                   Analyzer... tools)
        Reads state-log from given input stream using the DomainObjectReader.
      • interrupt

        public void interrupt()