FileAttributeMatcher.subtract

Subtracts all attributes of @subtract from @matcher and returns a matcher that supports those attributes.

Note that currently it is not possible to remove a single attribute when the @matcher matches the whole namespace - or remove a namespace or attribute when the matcher matches everything. This is a limitation of the current implementation, but may be fixed in the future.

class FileAttributeMatcher
subtract

Parameters

subtract FileAttributeMatcher

The matcher to subtract

Return Value

A file attribute matcher matching all attributes of @matcher that are not matched by @subtract

Meta