public class TreeFilterMarker extends Object
TreeFilter during a TreeWalk for each
entry and returning the result as a bitmask.| Constructor and Description |
|---|
TreeFilterMarker(TreeFilter[] markTreeFilters)
Construct a TreeFilterMarker.
|
public TreeFilterMarker(TreeFilter[] markTreeFilters)
markTreeFilters - the filters to use for marking, must not have more elements
than Integer.SIZE.IllegalArgumentException - if more tree filters are passed than possiblepublic int getMarks(TreeWalk walk) throws MissingObjectException, IncorrectObjectTypeException, IOException
TreeFilter.include(TreeWalk),
ordered by the index for which the tree filters were passed in the
constructor.walk - the walk from which to test the current entryMissingObjectException - as thrown by TreeFilter.include(TreeWalk)IncorrectObjectTypeException - as thrown by TreeFilter.include(TreeWalk)IOException - as thrown by TreeFilter.include(TreeWalk)Copyright © 2014. All rights reserved.