public class TreeFilterMarker
extends java.lang.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
.java.lang.IllegalArgumentException
- if more tree filters are passed than possiblepublic int getMarks(TreeWalk walk) throws MissingObjectException, IncorrectObjectTypeException, java.io.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)
java.io.IOException
- as thrown by TreeFilter.include(TreeWalk)
Copyright © 2013. All Rights Reserved.