Namespace: Consultingwerk.Studio.Refactor.CommentStyle
Class 
BatchCommentFormatter Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:BatchCommentFormatter
Purpose:Formats comments of files in a directory according to the OEDT
style and replaces tabs with spaces
Author(s):Robert Chelaru
Created:Tue Jul 07 19:48:16 EEST 2020



Top Method Summary
Options Name Purpose
+ FormatComments (character, character) Overwrites a formatted version of the files by the OEDT comment standards and replaces tabs with the number of spaces set by iTabSpaces.
+ FormatComments (character, character, character) Creates formatted version of the files, at the specified target directory path, by the OEDT comment standards and replaces tabs with the number of spaces set by iTabSpaces.


Method Detail
Top

PUBLIC FormatComments (character, character)

Purpose: Overwrites a formatted version of the files
by the OEDT comment standards and replaces
tabs with the number of spaces set by iTabSpaces.
Notes:

Parameters:
pcDirectory CHARACTER
The source directory containing the files
pcFileMask CHARACTER
A comma-delimited list of file name patterns to return (e.g. *.cls,*.w,*.p), ? sets it to *.cls
Top

PUBLIC FormatComments (character, character, character)

Purpose: Creates formatted version of the files, at the specified
target directory path, by the OEDT comment standards and replaces
tabs with the number of spaces set by iTabSpaces.
Notes:

Parameters:
pcDirectory CHARACTER
The source directory containing the files
pcFileMask CHARACTER
A comma-delimited list of file name patterns to return (e.g. *.cls,*.w,*.p), ? sets it to *.cls
pcOutputDirectory CHARACTER
The output target directory for creation of files


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