Namespace: Consultingwerk.Studio.ProjectMinimizer
Class 
LogFileParser Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:LogFileParser
Purpose:Parser for Progress client log files
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Jul 03 08:37:34 CEST 2011



Top Method Summary
Options Name Purpose
# CHARACTER GetExecutingProcedure (character) Extracts the procedure information form a client log file line
# OnProgressChanged (ProgressChangedEventArgs) Raises the ProgressChanged event
+ ParseLogFile () Starts parsing of the log file
# ProcessLine (character) Processes a single line of the log file
# StoreProcedure (character) Stores the procedure name in the ttProcedure temp-table

Top Constructor Summary
Options Name Purpose
+ LogFileParser (character) Constructor for the LogFileParser class

Top Event Summary
Options Name Purpose
+ ProgressChanged (Object, ProgressChangedEventArgs) Raised when the parsed progress changes

Top Property Summary
Options Name Purpose
+ CHARACTER LogFileName
+ HANDLE TempTableBuffer


Method Detail
Top

PROTECTED CHARACTER GetExecutingProcedure (character)

Purpose: Extracts the procedure information form a client log file line
Notes:

Parameters:
pcLine CHARACTER
The client log file line to parse
Returns CHARACTER
The procedure information
Top

PROTECTED OnProgressChanged (ProgressChangedEventArgs)

Purpose: Raises the ProgressChanged event
Notes:

Parameters:
e Consultingwerk.Studio.ProjectMinimizer.ProgressChangedEventArgs
The ProgressChangedEventArgs with the data for this event
Top

PUBLIC ParseLogFile ()

Purpose: Starts parsing of the log file
Notes:

Top

PROTECTED ProcessLine (character)

Purpose: Processes a single line of the log file
Notes:

Parameters:
pcLine CHARACTER
The line of the log file to parse
Top

PROTECTED StoreProcedure (character)

Purpose: Stores the procedure name in the ttProcedure temp-table
Notes:

Parameters:
pcProcedure CHARACTER
The procedure name to store in the ttProcedure temp-table


Constructor Detail
Top

PUBLIC LogFileParser (character)

Purpose: Constructor for the LogFileParser class
Notes:

Parameters:
pcLogFile CHARACTER
The file name of the log file to parse


Event Detail
Top

PUBLIC ProgressChanged (Object, ProgressChangedEventArgs)

Purpose: Raised when the parsed progress changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.Studio.ProjectMinimizer.ProgressChangedEventArgs
The ProgressChangedEventArgs with the data for this event


Property Detail
Top

PUBLIC CHARACTER LogFileName


Returns CHARACTER
Top

PUBLIC HANDLE TempTableBuffer


Returns HANDLE


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:22:47