FileAttributeMatcher.matchesOnly

bool matchesOnly(string attribute)

Checks if an attribute matcher only matches a given attribute. Always returns false if "*" was used when creating the matcher.

Parameters

attributea file attribute key.

Returns

true if the matcher only matches attribute. false otherwise.