Package org.tigris.subversion.javahl
Class DirEntry
- java.lang.Object
-
- org.tigris.subversion.javahl.DirEntry
-
- All Implemented Interfaces:
java.io.Serializable
public class DirEntry extends java.lang.Object implements java.io.SerializableA general subversion directory entry. Used for SVNClientInterface.list- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classDirEntry.FieldsThe various field values which can be passed to list()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAbsPath()Returns the absolute path of the entry.booleangetHasProps()Returns if the entry has properties managed by Subversion.java.lang.StringgetLastAuthor()Returns the author of the last change.java.util.DategetLastChanged()Returns the last time the file was changed.Revision.NumbergetLastChangedRevision()Returns the revision of the last change.longgetLastChangedRevisionNumber()Returns the revision number of the last change.intgetNodeKind()Return the kind of entry (file or directory)java.lang.StringgetPath()Returns the path of the entry.longgetSize()Return the length of file test or 0 for directoriesvoidsetPath(java.lang.String path)Set the path.java.lang.StringtoString()
-
-
-
Method Detail
-
getPath
public java.lang.String getPath()
Returns the path of the entry.- Returns:
- the path of the entry.
-
getAbsPath
public java.lang.String getAbsPath()
Returns the absolute path of the entry.- Returns:
- the absolute path of the entry.
-
getLastChanged
public java.util.Date getLastChanged()
Returns the last time the file was changed.- Returns:
- the last time the file was changed.
-
getLastChangedRevision
public Revision.Number 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
public java.lang.String 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
public void setPath(java.lang.String path)
Set the path. This should only be used by compatibility wrapper.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- Returns:
- The path at its last changed revision.
-
-