| Constructor and Description |
|---|
DirectoryEntry(java.io.DataInput in,
boolean dummy) |
DirectoryEntry(int nameId) |
DirectoryEntry(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Entry child) |
void |
addChildren(java.util.Collection<? extends Entry> children) |
protected boolean |
checkDoesNotExist(Entry e,
java.lang.String name) |
protected void |
collectCreatedDifferences(java.util.List<? super Difference> result,
boolean isRightContentCurrent) |
protected void |
collectDeletedDifferences(java.util.List<? super Difference> result,
boolean isRightContentCurrent) |
void |
collectDifferencesWith(Entry right,
java.util.List<? super Difference> result,
boolean isRightContentCurrent) |
DirectoryEntry |
copy() |
protected DirectoryEntry |
copyEntry() |
java.util.List<Entry> |
getChildren() |
long |
getTimestamp() |
boolean |
hasUnavailableContent(java.util.List<? super Entry> entriesWithUnavailableContent) |
boolean |
isDirectory() |
void |
removeChild(Entry child) |
void |
write(java.io.DataOutput out) |
calcNameHash, findChild, findEntry, getContent, getDifferencesBetween, getDifferencesBetween, getEntry, getName, getNameHash, getNameId, getNameSequence, getParent, getPath, hasEntry, hasUnavailableContent, isOutdated, isReadOnly, nameEquals, pathEquals, setContent, setName, setParent, setReadOnly, toNameId, toStringpublic DirectoryEntry(java.lang.String name)
public DirectoryEntry(int nameId)
public DirectoryEntry(java.io.DataInput in,
boolean dummy)
throws java.io.IOException
java.io.IOExceptionpublic void write(java.io.DataOutput out)
throws java.io.IOException
public long getTimestamp()
getTimestamp in class Entrypublic boolean isDirectory()
isDirectory in class Entrypublic void addChildren(java.util.Collection<? extends Entry> children)
addChildren in class Entryprotected boolean checkDoesNotExist(Entry e, java.lang.String name)
public void removeChild(Entry child)
removeChild in class Entrypublic java.util.List<Entry> getChildren()
getChildren in class Entrypublic boolean hasUnavailableContent(java.util.List<? super Entry> entriesWithUnavailableContent)
hasUnavailableContent in class Entrypublic DirectoryEntry copy()
protected DirectoryEntry copyEntry()
public void collectDifferencesWith(Entry right, java.util.List<? super Difference> result, boolean isRightContentCurrent)
collectDifferencesWith in class Entryprotected void collectCreatedDifferences(java.util.List<? super Difference> result, boolean isRightContentCurrent)
collectCreatedDifferences in class Entryprotected void collectDeletedDifferences(java.util.List<? super Difference> result, boolean isRightContentCurrent)
collectDeletedDifferences in class Entry