Alien-SVN
view release on metacpan or search on metacpan
src/subversion/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/DirEntry.java view on Meta::CPAN
public String getAbsPath()
{
return absPath;
}
/**
* Returns the last time the file was changed.
* @return the last time the file was changed.
*/
public Date getLastChanged()
{
return new Date(lastChanged/1000);
}
/**
* Returns the revision of the last change.
* @return revision of the last change as a Revision object.
*/
public Revision.Number getLastChangedRevision()
{
return Revision.createNumber(lastChangedRevision);
}
/**
* Returns the revision number of the last change.
* @return revision number of the last change.
*/
public long getLastChangedRevisionNumber()
{
return lastChangedRevision;
}
/**
* Returns if the entry has properties managed by Subversion.
* @return if the entry has properties managed by subversion.
*/
public boolean getHasProps()
{
return hasProps;
}
/**
* Returns the author of the last change.
* @return the author of the last change.
*/
public String getLastAuthor()
{
return lastAuthor;
}
/**
* Return the kind of entry (file or directory)
* @return the kind of the entry (file or directory) see NodeKind class
*/
public NodeKind getNodeKind()
{
return nodeKind;
}
/**
* Return the length of file test or 0 for directories
* @return length of file text, or 0 for directories
*/
public long getSize()
{
return size;
}
/**
* Set the path. This should only be used by compatibility wrapper.
*/
public void setPath(String path)
{
this.path = path;
}
/**
* @return The path at its last changed revision.
*/
public String toString()
{
return getPath() + '@' + getLastChangedRevision();
}
}
( run in 0.835 second using v1.01-cache-2.11-cpan-39bf76dae61 )