org.tigris.subversion.javahl
Class Info2

java.lang.Object
  extended by org.tigris.subversion.javahl.Info2
All Implemented Interfaces:
java.io.Serializable

public class Info2
extends java.lang.Object
implements java.io.Serializable

this class is returned by SVNClientInterface.info2 and contains information about items in the repository or working copy

Since:
1.2
See Also:
Serialized Form

Method Summary
 java.lang.String getChangelistName()
           
 java.lang.String getChecksum()
          return the checksum of the item
 java.lang.String getConflictNew()
          return if the item is in conflict, the filename of the last repository version file
 java.lang.String getConflictOld()
          return if the item is in conflict, the filename of the base version file
 java.lang.String getConflictWrk()
          return if the item is in conflict, the filename of the working copy version file
 long getCopyFromRev()
          return if the item was copied, the source rev
 java.lang.String getCopyFromUrl()
          return if the item was copied, the source url
 int getKind()
          return the item kinds (see NodeKind)
 java.lang.String getLastChangedAuthor()
          return the author of the last change
 java.util.Date getLastChangedDate()
          return the date of the last change
 long getLastChangedRev()
          return the revision of the last change
 Lock getLock()
          return the information about any lock (may be null)
 java.lang.String getPath()
          return the path of the item
 java.lang.String getPrejfile()
          return the property reject file
 java.util.Date getPropTime()
          return the last time the properties of the items were changed
 java.lang.String getReposRootUrl()
          return the root URL of the repository
 long getReposSize()
           
 java.lang.String getReposUUID()
          return the UUID of the repository
 long getRev()
          return the revision of the item
 int getSchedule()
          return the scheduled operation at next commit (see ScheduleKind)
 java.util.Date getTextTime()
          return the last time the item was changed
 java.lang.String getUrl()
          return the url of the item
 long getWorkingSize()
           
 boolean isHasWcInfo()
          return the flag if the working copy fields are set
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getPath

public java.lang.String getPath()
return the path of the item


getUrl

public java.lang.String getUrl()
return the url of the item


getRev

public long getRev()
return the revision of the item


getKind

public int getKind()
return the item kinds (see NodeKind)


getReposRootUrl

public java.lang.String getReposRootUrl()
return the root URL of the repository


getReposUUID

public java.lang.String getReposUUID()
return the UUID of the repository


getLastChangedRev

public long getLastChangedRev()
return the revision of the last change


getLastChangedDate

public java.util.Date getLastChangedDate()
return the date of the last change


getLastChangedAuthor

public java.lang.String getLastChangedAuthor()
return the author of the last change


getLock

public Lock getLock()
return the information about any lock (may be null)


isHasWcInfo

public boolean isHasWcInfo()
return the flag if the working copy fields are set


getSchedule

public int getSchedule()
return the scheduled operation at next commit (see ScheduleKind)


getCopyFromUrl

public java.lang.String getCopyFromUrl()
return if the item was copied, the source url


getCopyFromRev

public long getCopyFromRev()
return if the item was copied, the source rev


getTextTime

public java.util.Date getTextTime()
return the last time the item was changed


getPropTime

public java.util.Date getPropTime()
return the last time the properties of the items were changed


getChecksum

public java.lang.String getChecksum()
return the checksum of the item


getConflictOld

public java.lang.String getConflictOld()
return if the item is in conflict, the filename of the base version file


getConflictNew

public java.lang.String getConflictNew()
return if the item is in conflict, the filename of the last repository version file


getConflictWrk

public java.lang.String getConflictWrk()
return if the item is in conflict, the filename of the working copy version file


getPrejfile

public java.lang.String getPrejfile()
return the property reject file


getChangelistName

public java.lang.String getChangelistName()
Returns:
The name of the changelist.
Since:
1.5

getWorkingSize

public long getWorkingSize()
Returns:
The size of the file after being translated into its local representation, or -1 if unknown. Not applicable for directories.
Since:
1.5

getReposSize

public long getReposSize()
Returns:
The size of the file in the repository (untranslated, e.g. without adjustment of line endings and keyword expansion). Only applicable for file -- not directory -- URLs. For working copy paths, size will be -1.
Since:
New in 1.5.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
A string representation of this info.