|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.subversion.javahl.types.DirEntry
public class DirEntry
A general subversion directory entry. Used for ISVNClient.list(java.lang.String, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Depth, int, boolean, org.apache.subversion.javahl.callback.ListCallback)
.
Nested Class Summary | |
---|---|
class |
DirEntry.Fields
The various field values which can be passed to list() |
Constructor Summary | |
---|---|
DirEntry(String path,
String absPath,
NodeKind nodeKind,
long size,
boolean hasProps,
long lastChangedRevision,
long lastChanged,
String lastAuthor)
this constructor is only called from the JNI code |
Method Summary | |
---|---|
String |
getAbsPath()
Returns the absolute path of the entry. |
boolean |
getHasProps()
Returns if the entry has properties managed by Subversion. |
String |
getLastAuthor()
Returns the author of the last change. |
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) |
String |
getPath()
Returns the path of the entry. |
long |
getSize()
Return the length of file test or 0 for directories |
void |
setPath(String path)
Set the path. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DirEntry(String path, String absPath, NodeKind nodeKind, long size, boolean hasProps, long lastChangedRevision, long lastChanged, 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 changeMethod Detail |
---|
public String getPath()
public String getAbsPath()
public Date getLastChanged()
public Revision.Number getLastChangedRevision()
public long getLastChangedRevisionNumber()
public boolean getHasProps()
public String getLastAuthor()
public NodeKind getNodeKind()
public long getSize()
public void setPath(String path)
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |