beautypg.com

Dwfilenamefilter.getexpression(), Dwfilenamefilter.setexpression(), Dwfilenamefilter.getexcludedextensions() – Adobe Dreamweaver API Reference CS5 User Manual

Page 203

background image

198

DREAMWEAVER API REFERENCE

Workspace

Last updated 8/27/2013

Arguments
None.

Returns
A Boolean:

true

if the filter matches any file.

DWFilenameFilter.getExpression()

Availability
Dreamweaver CS5.

Description
This function is used to retrieve the filter expression.

Arguments
None.

Returns
A string that represents the filter expression.

An empty string is returned if the filter that matches any file is empty.

DWFilenameFilter.setExpression()

Availability
Dreamweaver CS5.

Description
This function is used to set the filter expression.

Arguments

expression

- A string that represents a filter expression.

This argument is one or more wildcard filters separated by semicolons. For example, “*

.css;help*.js

”.

Setting the filter object to an empty string will set the filter so that the filter matches any file.

Returns
None.

DWFilenameFilter.getExcludedExtensions()

Availability
Dreamweaver CS5.

Description
This function is used to retrieve the list of all the excluded file extensions.