Dwfilenamefilter.doesexcludeextension(), Dwfilenamefilter.isadvancedfilter(), Dwfilenamefilter.willmatchanyfile() – Adobe Dreamweaver API Reference CS5 User Manual
Page 202

197
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
DWFilenameFilter.doesExcludeExtension()
Availability
Dreamweaver CS5.
Description
This function is used to determine if an extension is excluded by the filter object.
Filters use an exclusive test to determine if a file extension is excluded using the exclusion expression. Use this function
to determine if a file extension has been previously added to the exclusion list using the
DWFilenameFilter.addExtensionToExclusionExpression()
function. For more information, see
DWFilenameFilter.addExtensionToExclusionExpression()
Arguments
extension
- A string that represents a extension.
Returns
A Boolean:
true
if the extension is excluded by the filter.
DWFilenameFilter.isAdvancedFilter()
Availability
Dreamweaver CS5.
Description
This function is used to determine if the filter object is an advanced filter.
Advanced filter results when the user selects “Advanced...” menu item from the Filter menu.
Arguments
None.
Returns
A Boolean:
true
if the filter is an advanced filter.
DWFilenameFilter.willMatchAnyFile()
Availability
Dreamweaver CS5.
Description
This function is used to determine if the filter object will match any file. A filter that matches any file results in all files
being displayed in the Related Files Bar.
To match any file, the filter object should be empty or should have an advanced filter with “
*.*
” as the expression.