Package org.tigris.subversion.javahl
Class DirEntry
java.lang.Object
org.tigris.subversion.javahl.DirEntry
- All Implemented Interfaces:
Serializable
public class DirEntry extends Object implements Serializable
A general subversion directory entry. Used for SVNClientInterface.list
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DirEntry.Fields
The various field values which can be passed to list() -
Method Summary
Modifier and Type Method Description 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.int
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 directoriesvoid
setPath(String path)
Set the path.String
toString()
-
Method Details
-
getPath
Returns the path of the entry.- Returns:
- the path of the entry.
-
getAbsPath
Returns the absolute path of the entry.- Returns:
- the absolute path of the entry.
-
getLastChanged
Returns the last time the file was changed.- Returns:
- the last time the file was changed.
-
getLastChangedRevision
Returns the revision of the last change.- Returns:
- revision of the last change as a Revision object.
-
getLastChangedRevisionNumber
public long getLastChangedRevisionNumber()Returns the revision number of the last change.- Returns:
- revision number of the last change.
-
getHasProps
public boolean getHasProps()Returns if the entry has properties managed by Subversion.- Returns:
- if the entry has properties managed by subversion.
-
getLastAuthor
Returns the author of the last change.- Returns:
- the author of the last change.
-
getNodeKind
public int getNodeKind()Return the kind of entry (file or directory)- Returns:
- the kind of the entry (file or directory) see NodeKind class
-
getSize
public long getSize()Return the length of file test or 0 for directories- Returns:
- length of file text, or 0 for directories
-
setPath
Set the path. This should only be used by compatibility wrapper. -
toString
-