[]
        
(Showing Draft Content)

CSJ2K.j2k.util.ParameterList.checkList

checkList Method

checkList(char, string[])

Checks if the parameters which name starts with the prefix 'prfx' in the parameter list are all in the list of valid parameter names 'plist'. If there is a parameter that is not in 'plist' an IllegalArgumentException is thrown with an explanation message. The default parameters are also included in the check.

Declaration
public virtual void checkList(char prfx, string[] plist)
Public Overridable Sub checkList(prfx As Char, plist As String())
Parameters
Type Name Description
char prfx

The prefix of parameters to check.

string[] plist

The list of valid parameter names for the 'prfx' prefix. If null it is considered that no names are valid.

checkList(char[], string[])

Checks if the parameters which names do not start with any of the prefixes in 'prfxs' in this ParameterList are all in the list of valid parameter names 'plist'. If there is a parameter that is not in 'plist' an IllegalArgumentException is thrown with an explanation message. The default parameters are also included in the check.

Declaration
public virtual void checkList(char[] prfxs, string[] plist)
Public Overridable Sub checkList(prfxs As Char(), plist As String())
Parameters
Type Name Description
char[] prfxs

The prefixes of parameters to ignore.

string[] plist

The list of valid parameter names. If null it is considered that no names are valid.