public class LsfUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LsfUtils.LogStats
A class used to hold log statistics
|
Constructor and Description |
---|
LsfUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
checkLsf(java.io.File lsfFile,
IMCDefinition defs)
Check consistency of a specified LSF file
|
static LsfUtils.LogStats |
getStats(LsfIndex index)
Generate some statistics for a given LSF file
|
static void |
main(java.lang.String[] args) |
static void |
merge(java.io.File[] srcFolders,
java.io.File outputFolder,
java.util.Vector<java.lang.String> messagesToFilter,
javax.swing.ProgressMonitor m)
Merge two or more LSF log folders into one, interleaving data according to time stamps
|
static void |
merge(LsfIndex[] sources,
java.io.File destinationDir,
java.util.Vector<java.lang.String> messagesToFilter,
javax.swing.ProgressMonitor m)
Merge two or more LSF files into one, interleaving data according to time stamps
|
static void |
translate(java.io.File originalDir,
java.io.File destinationDir,
java.util.Vector<java.lang.String> messagesToFilter,
javax.swing.ProgressMonitor m)
Change the IMC definitions of a given LSF file, generates a new one
|
public static void checkLsf(java.io.File lsfFile, IMCDefinition defs) throws java.lang.Exception
lsfFile
- The file to be checkeddefs
- The definitions used to generate the LSFjava.lang.Exception
- In case the file cannot be read properlypublic static void translate(java.io.File originalDir, java.io.File destinationDir, java.util.Vector<java.lang.String> messagesToFilter, javax.swing.ProgressMonitor m) throws java.lang.Exception
originalDir
- The folder of the original LSF filedestinationDir
- The destination folder, containing the new IMC definitionsmessagesToFilter
- Messages to filtered out (optional)m
- ProgressMonitor to be updated according to the progress of this process (optional)java.lang.Exception
- In case some file cannot be read / written to.public static void merge(LsfIndex[] sources, java.io.File destinationDir, java.util.Vector<java.lang.String> messagesToFilter, javax.swing.ProgressMonitor m) throws java.lang.Exception
sources
- The source lsf indexes to be processeddestinationDir
- The folder where the resulting LSF file will be stored atmessagesToFilter
- Messages to be filtered out (optional)m
- ProgressMonitor to be updated according to the progress of this process (optional)java.lang.Exception
- In case some file cannot be read / written to.public static void merge(java.io.File[] srcFolders, java.io.File outputFolder, java.util.Vector<java.lang.String> messagesToFilter, javax.swing.ProgressMonitor m) throws java.lang.Exception
srcFolders
- The folders with LSF log files to be processedoutputFolder
- The folder where the resulting LSF file will be stored atmessagesToFilter
- Messages to be filtered out (optional)m
- ProgressMonitor to be updated according to the progress of this process (optional)java.lang.Exception
- In case some file cannot be read / written to.public static LsfUtils.LogStats getStats(LsfIndex index)
index
- The index to be processedLsfUtils.LogStats
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception