matchesOnly
Checks if an attribute matcher only matches a given attribute. Always returns false if "*" was used when creating the matcher.
Return
true if the matcher only matches @attribute. false otherwise.
Parameters
attribute
a file attribute key.