public class DirEntry
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
class |
DirEntry.Fields
The various field values which can be passed to list()
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
absPath
the absolute path of the entry
|
private boolean |
hasProps
flag if the item has properties managed by subversion
|
private java.lang.String |
lastAuthor
the name of the author of the last change
|
private long |
lastChanged
the date of the last change in nanoseconds since 01/01/1970
|
private long |
lastChangedRevision
the revision number of the last change
|
private int |
nodeKind
the kind of the node (directory or file)
|
private java.lang.String |
path
the pathname of the entry
|
private static long |
serialVersionUID |
private long |
size
the size of the file
|
Constructor and Description |
---|
DirEntry(DirEntry aEntry)
A backward-compat constructor
|
DirEntry(java.lang.String path,
java.lang.String absPath,
int 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.
|
int |
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() |
private static final long serialVersionUID
private long lastChanged
private long lastChangedRevision
private boolean hasProps
private java.lang.String lastAuthor
private int nodeKind
private long size
private java.lang.String path
private java.lang.String absPath
DirEntry(java.lang.String path, java.lang.String absPath, int 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 changeDirEntry(DirEntry aEntry)
public 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 int getNodeKind()
public long getSize()
public void setPath(java.lang.String path)
public java.lang.String toString()
toString
in class java.lang.Object