Namespace: Consultingwerk.Util
Class 
StartupParameterHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:StartupParameterHelpery
Purpose:Supporting routines to parse AVM startup parameters
Syntax:Static methods only, Protected constructor to disallow
instance creation
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Aug 08 19:33:08 CEST 2010



Top Method Summary
Options Name Purpose
+ CHARACTER GetStartupParameter (character) Parses the session startup parameters list for the passed in startup parameter and returns the parameter and it's value
+ CHARACTER GetStartupParameterValue (character) Parses the session startup parameters list for the passed in startup parameter and returns the parameters value

Top Constructor Summary
Options Name Purpose
# StartupParameterHelper () Protected default constructor.
StartupParameterHelper () Transforms startup parameter from a comma-delimited list into an ABL array

Top Property Summary
Options Name Purpose
+ INTEGER IOEverywhere Returns the vlaue of the -IOEverywhere startup parameter or the valid default
+ CHARACTER StartupParameterList Returns an ABL Array of startup parameters


Method Detail
Top

PUBLIC CHARACTER GetStartupParameter (character)

Purpose: Parses the session startup parameters list for the passed in
startup parameter and returns the parameter and it's value
Notes:

Parameters:
pcParameter CHARACTER
The startup parameter to return the value for
Returns CHARACTER
The value of the startup parameter
Top

PUBLIC CHARACTER GetStartupParameterValue (character)

Purpose: Parses the session startup parameters list for the passed in
startup parameter and returns the parameters value
Notes:

Parameters:
pcParameter CHARACTER
The startup parameter to return the value for
Returns CHARACTER
The value of the startup parameter


Constructor Detail
Top

PROTECTED StartupParameterHelper ()

Purpose: Protected default constructor.
Notes: There's no need to create instances of the helper classes

Top

STATIC StartupParameterHelper ()

Purpose: Transforms startup parameter from a comma-delimited list into an
ABL array
Notes: Removed on of .pf entries



Property Detail
Top

PUBLIC INTEGER IOEverywhere

Purpose: Returns the vlaue of the -IOEverywhere startup parameter or the
valid default
Notes: From OpenEdge 11.0 on the default value is 1, on anything earlier
the default value is 0 (this rule is also value returned for OpenEdge
versions prior to 10.2B02 that don't know about this startup parameter

Returns INTEGER
Top

PUBLIC CHARACTER StartupParameterList

Purpose: Returns an ABL Array of startup parameters
Notes: Populated in the static constructor

Returns CHARACTER


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:46:49