|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectbr.com.objectos.git.Entry
public final class Entry
Represents a Git tree entry.
| Method Summary | |
|---|---|
int |
compareTo(br.com.objectos.git.AbstractEntry o)
|
void |
formatToString(StringBuilder sb,
int depth)
|
EntryMode |
getMode()
Returns the file mode of this tree entry. |
String |
getName()
Returns the name of this tree entry. |
ObjectId |
getObjectId()
Returns an object representing the hash value that uniquely identifies the git object referenced by this tree entry. |
boolean |
isBlob()
Returns true if this tree entry references a blob object. |
boolean |
isTree()
Returns true if this tree entry references a tree object. |
String |
print()
Returns a string representation of the form octal blob|tree hash name. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final void formatToString(StringBuilder sb,
int depth)
public final EntryMode getMode()
public final String getName()
public final ObjectId getObjectId()
public final boolean isBlob()
true if this tree entry references a blob object.
true if this tree entry references a blob objectpublic final boolean isTree()
true if this tree entry references a tree object.
true if this tree entry references a tree objectpublic final String print()
octal blob|tree hash name.
public final int compareTo(br.com.objectos.git.AbstractEntry o)
compareTo in interface Comparable<br.com.objectos.git.AbstractEntry>public final String toString()
toString in class Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||