Java Doc for SVNDirEntry.java in  » Source-Control » tmatesoft-SVN » org » tmatesoft » svn » core » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Source Control » tmatesoft SVN » org.tmatesoft.svn.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.tmatesoft.svn.core.SVNDirEntry

SVNDirEntry
public class SVNDirEntry implements Comparable(Code)
The SVNDirEntry class is a representation of a versioned directory entry.

SVNDirEntry keeps an entry name, entry kind (is it a file or directory), file size (in case an entry is a file), the last changed revision, the date when the entry was last changed, the name of the author who last changed the entry, the commit log message for the last changed revision. SVNDirEntry also knows if the entry has any properties.
version:
   1.1.1
author:
   TMate Software Ltd.
See Also:   ISVNDirEntryHandler




Constructor Summary
public  SVNDirEntry(SVNURL url, String name, SVNNodeKind kind, long size, boolean hasProperties, long revision, Date createdDate, String lastAuthor)
     Constructs an instance of SVNDirEntry.
public  SVNDirEntry(SVNURL url, String name, SVNNodeKind kind, long size, boolean hasProperties, long revision, Date createdDate, String lastAuthor, String commitMessage)
     Constructs an instance of SVNDirEntry.

Method Summary
public  intcompareTo(Object o)
     Compares this object with another one.
public  StringgetAuthor()
     Retrieves the name of the author who last changed this entry.
public  StringgetCommitMessage()
     Returns the commit log message for the revision of this entry.
public  DategetDate()
     Returns the date the entry was last changed.
public  SVNNodeKindgetKind()
     Returns the entry node kind.
public  SVNLockgetLock()
     Gets the lock object for this entry (if it's locked).
public  StringgetName()
    
public  StringgetPath()
    
public  StringgetRelativePath()
     Returns the entry's path.

This method always returns the name of an entry (i.e.

public  longgetRevision()
     Gets the last changed revision of this entry.
public  longgetSize()
     Returns the file size in bytes (if this entry is a file).
public  SVNURLgetURL()
     Returns the entry's URL.
public  booleanhasProperties()
     Tells if the entry has any properties.
public  voidsetCommitMessage(String message)
     This method is used by SVNKit internals and not intended for users (from an API point of view).
public  voidsetLock(SVNLock lock)
     Sets the lock object for this entry (if it's locked).
public  voidsetRelativePath(String path)
     This method is used by SVNKit internals and not intended for users (from an API point of view).
public  longsize()
     Returns the file size in bytes (if this entry is a file).
public  StringtoString()
     Retirns a string representation of this object.


Constructor Detail
SVNDirEntry
public SVNDirEntry(SVNURL url, String name, SVNNodeKind kind, long size, boolean hasProperties, long revision, Date createdDate, String lastAuthor)(Code)
Constructs an instance of SVNDirEntry.
Parameters:
  url - a url of this entry
Parameters:
  name - an entry name
Parameters:
  kind - the node kind for the entry
Parameters:
  size - the entry size in bytes
Parameters:
  hasProperties - true if the entry has properties, otherwise false
Parameters:
  revision - the last changed revision of the entry
Parameters:
  createdDate - the date the entry was last changed
Parameters:
  lastAuthor - the person who last changed the entry



SVNDirEntry
public SVNDirEntry(SVNURL url, String name, SVNNodeKind kind, long size, boolean hasProperties, long revision, Date createdDate, String lastAuthor, String commitMessage)(Code)
Constructs an instance of SVNDirEntry.
Parameters:
  url - a url of this entry
Parameters:
  name - an entry name
Parameters:
  kind - the node kind for the entry
Parameters:
  size - the entry size in bytes
Parameters:
  hasProperties - true if the entry has properties, otherwise false
Parameters:
  revision - the last changed revision of the entry
Parameters:
  createdDate - the date the entry was last changed
Parameters:
  lastAuthor - the person who last changed the entry
Parameters:
  commitMessage - the log message of the last change commit




Method Detail
compareTo
public int compareTo(Object o)(Code)
Compares this object with another one.
Parameters:
  o - an object to compare with
  • -1 - if o is either null,or is not an instance of SVNDirEntry, or this entry's URL is lexicographically less than the name of o;
  • 1 - if this entry's URL is lexicographically greater than the name of o;
  • 0 - if and only if o has got the same URL as this one has



getAuthor
public String getAuthor()(Code)
Retrieves the name of the author who last changed this entry. the last author's name.



getCommitMessage
public String getCommitMessage()(Code)
Returns the commit log message for the revision of this entry. a commit log message



getDate
public Date getDate()(Code)
Returns the date the entry was last changed. the datestamp when the entry was last changed



getKind
public SVNNodeKind getKind()(Code)
Returns the entry node kind. the node kind of this entry
See Also:   SVNNodeKind



getLock
public SVNLock getLock()(Code)
Gets the lock object for this entry (if it's locked). a lock object or null



getName
public String getName()(Code)
Gets the the directory entry name the name of this entry



getPath
public String getPath()(Code)
SVNDirEntry.getRelativePath()



getRelativePath
public String getRelativePath()(Code)
Returns the entry's path.

This method always returns the name of an entry (i.e. a path relative to the parent folder) when an SVNDirEntry object is provided by an org.tmatesoft.svn.core.io.SVNRepository driver.

This property (relative path) is longer than just an entry name only when an SVNDirEntry object is obtained via a recursive call to a doList() method of the org.tmatesoft.svn.core.wc.SVNLogClient class. In that case an SVNDirEntry object located deep in the hierarchy will return a path relative to the URL doList() was called for. a path relative to a repository location or null if no path isspecified




getRevision
public long getRevision()(Code)
Gets the last changed revision of this entry. the revision of this entry when it was last changed



getSize
public long getSize()(Code)
Returns the file size in bytes (if this entry is a file). the size of this entry in bytes



getURL
public SVNURL getURL()(Code)
Returns the entry's URL. this entry's URL.



hasProperties
public boolean hasProperties()(Code)
Tells if the entry has any properties. true if has, false otherwise



setCommitMessage
public void setCommitMessage(String message)(Code)
This method is used by SVNKit internals and not intended for users (from an API point of view).
Parameters:
  message - a commit message



setLock
public void setLock(SVNLock lock)(Code)
Sets the lock object for this entry (if it's locked).
Parameters:
  lock - a lock object



setRelativePath
public void setRelativePath(String path)(Code)
This method is used by SVNKit internals and not intended for users (from an API point of view).
Parameters:
  path - this entry's path



size
public long size()(Code)
Returns the file size in bytes (if this entry is a file). SVNDirEntry.getSize() the size of this entry in bytes



toString
public String toString()(Code)
Retirns a string representation of this object. a string representation of this directory entry



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.