![]() | |
Sun Java System Portal Server 6 2005Q1 Technical Reference Guide |
Chapter 51
Robot Application Functions - Setup FunctionsThis section describes the functions that are used during the setup phase by both enumeration and generation filters. The following functions are described:
filterrules-setupWhen you use the filterrules-setup function, logtype is the type of log file to use. The value can be verbose, normal, or terse.
Parameters
The following table lists the parameter used with the filterrules-setup function. The table contains two columns. The first column lists the parameter, and the second column provides a description.
Example
Setup fn=filterrules-setup config=./config/filterrules.conf logtype=normal
setup-regex-cacheThe setup-regex-cache function initializes the cache size for the filter-by-regex and generate-by-regex functions. Use this function to specify a number other than the default of 32.
Parameters
The following table lists the parameter used with the setup-regex-cache function. The table contains three columns. The first column lists the parameter, the second column provides a description, and the third column provides an example.
Example
Setup fn=setup-regex-cache cache-size=28
setup-type-by-extensionThe setup-type-by-extension function configures the filter to recognize file name extensions. It must be called before the assign-type-by-extension function can be used. The file specified as a parameter must contain mappings between standard MIME content types and file extension strings.
Parameters
The following table lists the parameter used with the setup-type-by-extension function. The table contains two columns. The first column lists the parameter, and the second column provides a description.
Example
Setup fn=setup-type-by-extension file=./config/mime.types