org.eclipse.jgit.lib
Class SymlinkTreeEntry
java.lang.Object
org.eclipse.jgit.lib.TreeEntry
org.eclipse.jgit.lib.SymlinkTreeEntry
- All Implemented Interfaces:
- java.lang.Comparable
public class SymlinkTreeEntry
- extends TreeEntry
A tree entry representing a symbolic link.
Note. Java cannot really handle these as file system objects.
| Methods inherited from class org.eclipse.jgit.lib.TreeEntry |
accept, compareTo, delete, detachParent, getFullName, getFullNameUTF8, getId, getName, getNameUTF8, getParent, getRepository, isModified, lastChar, lastChar, rename, rename, setId, setModified |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SymlinkTreeEntry
public SymlinkTreeEntry(Tree parent,
ObjectId id,
byte[] nameUTF8)
- Construct a
SymlinkTreeEntry with the specified name and SHA-1 in
the specified parent
- Parameters:
parent - id - nameUTF8 -
getMode
public FileMode getMode()
- Specified by:
getMode in class TreeEntry
- Returns:
- mode (type of object)
accept
public void accept(TreeVisitor tv,
int flags)
throws java.io.IOException
- Description copied from class:
TreeEntry
- Visit the members of this TreeEntry.
- Specified by:
accept in class TreeEntry
- Parameters:
tv - A visitor object doing the workflags - Specification for what members to visit. See
TreeEntry.MODIFIED_ONLY, TreeEntry.LOADED_ONLY,
TreeEntry.CONCURRENT_MODIFICATION.
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object