public class AttributesNode extends Object
Constructor and Description |
---|
AttributesNode()
Create an empty ignore node with no rules.
|
AttributesNode(List<AttributesRule> rules)
Create an ignore node with given rules.
|
Modifier and Type | Method and Description |
---|---|
List<AttributesRule> |
getRules()
Getter for the field
rules . |
void |
parse(InputStream in)
Parse files according to gitattribute standards.
|
public AttributesNode()
public AttributesNode(List<AttributesRule> rules)
rules
- list of rules.public void parse(InputStream in) throws IOException
in
- input stream holding the standard ignore format. The caller is
responsible for closing the stream.IOException
- Error thrown when reading an ignore file.public List<AttributesRule> getRules()
rules
.Copyright © 2017 Eclipse JGit Project. All rights reserved.