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, toString
public DirectoryEntry(java.lang.String name)
public DirectoryEntry(int nameId)
public DirectoryEntry(java.io.DataInput in, boolean dummy) throws java.io.IOException
java.io.IOException
public void write(java.io.DataOutput out) throws java.io.IOException
public long getTimestamp()
getTimestamp
in class Entry
public boolean isDirectory()
isDirectory
in class Entry
public void addChildren(java.util.Collection<? extends Entry> children)
addChildren
in class Entry
protected boolean checkDoesNotExist(Entry e, java.lang.String name)
public void removeChild(Entry child)
removeChild
in class Entry
public java.util.List<Entry> getChildren()
getChildren
in class Entry
public boolean hasUnavailableContent(java.util.List<? super Entry> entriesWithUnavailableContent)
hasUnavailableContent
in class Entry
public DirectoryEntry copy()
protected DirectoryEntry copyEntry()
public void collectDifferencesWith(Entry right, java.util.List<? super Difference> result, boolean isRightContentCurrent)
collectDifferencesWith
in class Entry
protected void collectCreatedDifferences(java.util.List<? super Difference> result, boolean isRightContentCurrent)
collectCreatedDifferences
in class Entry
protected void collectDeletedDifferences(java.util.List<? super Difference> result, boolean isRightContentCurrent)
collectDeletedDifferences
in class Entry