|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.lib.TreeEntry
org.eclipse.jgit.lib.FileTreeEntry
TreeWalk.forPath(Repository, String, org.eclipse.jgit.revwalk.RevTree).
To lookup information about multiple paths at once, use a
TreeWalk and obtain the current entry's
information from its getter methods.
@Deprecated public class FileTreeEntry
A representation of a file (blob) object in a Tree.
| Constructor Summary | |
|---|---|
FileTreeEntry(Tree parent,
ObjectId id,
byte[] nameUTF8,
boolean execute)
Deprecated. Constructor for a File (blob) object. |
|
| Method Summary | |
|---|---|
FileMode |
getMode()
Deprecated. |
boolean |
isExecutable()
Deprecated. |
ObjectLoader |
openReader()
Deprecated. |
void |
setExecutable(boolean execute)
Deprecated. |
String |
toString()
Deprecated. |
| Methods inherited from class org.eclipse.jgit.lib.TreeEntry |
|---|
compareTo, delete, detachParent, getFullName, getFullNameUTF8, getId, getName, getNameUTF8, getParent, getRepository, isModified, lastChar, rename, rename, setId, setModified |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileTreeEntry(Tree parent,
ObjectId id,
byte[] nameUTF8,
boolean execute)
parent - The Tree holding this object (or null)id - the SHA-1 of the blob (or null for a yet unhashed file)nameUTF8 - raw object name in the parent treeexecute - true if the executable flag is set| Method Detail |
|---|
public FileMode getMode()
getMode in class TreeEntrypublic boolean isExecutable()
public void setExecutable(boolean execute)
execute - set/reset the executable flag
public ObjectLoader openReader()
throws IOException
ObjectLoader that will return the data
IOExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||