matches


Description:

public bool matches (string attribute)

Checks if an attribute will be matched by an attribute matcher.

If the matcher was created with the "*" matching string, this function will always return true.

Parameters:

this

a FileAttributeMatcher.

attribute

a file attribute key.

Returns:

true if attribute matches this. false otherwise.