public class DirEntry
extends java.lang.Object
implements java.io.Serializable
ISVNClient.list(java.lang.String, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Revision, java.util.List<java.lang.String>, org.apache.subversion.javahl.types.Depth, int, boolean, boolean, org.apache.subversion.javahl.callback.ListItemCallback)
.Modifier and Type | Class and Description |
---|---|
class |
DirEntry.Fields
The various field values which can be passed to list()
|
Constructor and Description |
---|
DirEntry(java.lang.String path,
java.lang.String absPath,
NodeKind nodeKind,
long size,
boolean hasProps,
long lastChangedRevision,
long lastChanged,
java.lang.String lastAuthor)
this constructor is only called from the JNI code
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAbsPath()
Returns the absolute path of the entry.
|
boolean |
getHasProps()
Returns if the entry has properties managed by Subversion.
|
java.lang.String |
getLastAuthor()
Returns the author of the last change.
|
java.util.Date |
getLastChanged()
Returns the last time the file was changed.
|
Revision.Number |
getLastChangedRevision()
Returns the revision of the last change.
|
long |
getLastChangedRevisionNumber()
Returns the revision number of the last change.
|
NodeKind |
getNodeKind()
Return the kind of entry (file or directory)
|
java.lang.String |
getPath()
Returns the path of the entry.
|
long |
getSize()
Return the length of file test or 0 for directories
|
void |
setPath(java.lang.String path)
Set the path.
|
java.lang.String |
toString() |
public DirEntry(java.lang.String path, java.lang.String absPath, NodeKind nodeKind, long size, boolean hasProps, long lastChangedRevision, long lastChanged, java.lang.String lastAuthor)
path
- the pathname of the entryabsPath
- the absolute path of the entrynodeKind
- the kind of entry (file or directory)size
- the size of the filehasProps
- if the entry has properties managed by
subversionlastChangedRevision
- the revision number of the last changelastChanged
- the date of the last changelastAuthor
- the author of the last changepublic java.lang.String getPath()
public java.lang.String getAbsPath()
public java.util.Date getLastChanged()
public Revision.Number getLastChangedRevision()
public long getLastChangedRevisionNumber()
public boolean getHasProps()
public java.lang.String getLastAuthor()
public NodeKind getNodeKind()
public long getSize()
public void setPath(java.lang.String path)
public java.lang.String toString()
toString
in class java.lang.Object