@Service public class LogtoolCore extends Object
| Constructor and Description |
|---|
LogtoolCore()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
interrupt() |
void |
postConstruct() |
String |
processCmdLine(String[] args)
Processes a command line, providing a state-log file from the local
filesystem, or a remote URL.
|
String |
readStateLog(File inputFile,
Analyzer... tools)
Reads state-log from given input file using the DomainObjectReader.
|
String |
readStateLog(InputStream inputStream,
Analyzer... tools)
Reads state-log from given input stream using the DomainObjectReader.
|
String |
readStateLog(String source,
Analyzer... tools)
Reads the given state-log source using the DomainObjectReader.
|
String |
readStateLog(URL inputURL,
Analyzer... tools)
Reads state-log from given input url using the DomainObjectReader.
|
void |
setPerTimeslotPause(int msec)
Sets the per-timeslot pause value, used by Visualizer
|
@PostConstruct public void postConstruct()
public void setPerTimeslotPause(int msec)
public String processCmdLine(String[] args)
public String readStateLog(String source, Analyzer... tools)
public String readStateLog(File inputFile, Analyzer... tools)
public String readStateLog(URL inputURL, Analyzer... tools)
public String readStateLog(InputStream inputStream, Analyzer... tools)
public void interrupt()
Copyright © 2018 Power TAC. All rights reserved.