public class DefaultPathPolicy extends Object implements PathPolicy
PathPolicy.| Constructor and Description |
|---|
DefaultPathPolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldAdd(CategoryPath categoryPath)
Filters out (returns false) CategoryPaths equal or less than
TaxonomyReader.ROOT_ORDINAL. true otherwise. |
public boolean shouldAdd(CategoryPath categoryPath)
TaxonomyReader.ROOT_ORDINAL. true otherwise.shouldAdd in interface PathPolicycategoryPath - A given category path which is to be tested for stream
addition.true if the category path should be added.
false otherwise.