matches_only


Description:

public bool matches_only (string attribute)

Checks if an attribute matcher only matches a given attribute.

Always returns false if "*" was used when creating the matcher.

Parameters:

this

a FileAttributeMatcher.

attribute

a file attribute key.

Returns:

true if the matcher only matches attribute. false otherwise.