Package org.tmatesoft.svn.cli.svn
Class SVNInfoCommand
java.lang.Object
org.tmatesoft.svn.cli.AbstractSVNCommand
org.tmatesoft.svn.cli.svn.SVNCommand
org.tmatesoft.svn.cli.svn.SVNXMLCommand
org.tmatesoft.svn.cli.svn.SVNInfoCommand
- All Implemented Interfaces:
ISVNInfoHandler
- Version:
- 1.3
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private SVNInfoCommand.SVNInfoItemType
private boolean
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected java.util.Collection
private void
findPrintWhat
(java.lang.String keyword) void
handleInfo
(SVNInfo info) Handles item's information using an SVNInfo object.private java.lang.StringBuffer
printConflictVersionXML
(SVNConflictVersion version, java.lang.String name, java.lang.StringBuffer target) protected void
private void
printInfoItem
(SVNInfo info) private void
printInfoItemRevision
(SVNRevision revision, java.lang.String targetPath) private void
printInfoItemString
(java.lang.String text, java.lang.String targetPath) protected void
printInfoXML
(SVNInfo info) private java.lang.String
relativeUrl
(SVNInfo info) void
run()
private int
similarityCheck
(java.lang.String key, java.util.List<java.lang.String> tokens) private int
stringDiff
(java.lang.String s1, java.lang.String s2) Methods inherited from class org.tmatesoft.svn.cli.svn.SVNXMLCommand
addXMLProp, closeXMLTag, openCDataTag, openXMLTag, openXMLTag, printXMLFooter, printXMLHeader, printXMLPropHash
Methods inherited from class org.tmatesoft.svn.cli.svn.SVNCommand
acceptsRevisionRange, getFileAmbigousErrorMessage, getGlobalOptions, getMessageAmbigousErrorMessage, getResourceBundleName, getSVNEnvironment, isCommitter
Methods inherited from class org.tmatesoft.svn.cli.AbstractSVNCommand
availableCommands, getAliases, getCommand, getDescription, getEnvironment, getName, getSupportedOptions, getValidOptions, init, isAlias, isFailed, isOptionSupported, registerCommand, setFailed
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
myIsMultipleTargets
private boolean myIsMultipleTargets -
myIsStartNewLine
private boolean myIsStartNewLine -
myPrintWhat
-
myTargetIsPath
private boolean myTargetIsPath -
SIM_RANGE_MAX
private static final int SIM_RANGE_MAX- See Also:
-
-
Constructor Details
-
SVNInfoCommand
public SVNInfoCommand()
-
-
Method Details
-
createSupportedOptions
protected java.util.Collection createSupportedOptions()- Specified by:
createSupportedOptions
in classAbstractSVNCommand
-
run
- Specified by:
run
in classAbstractSVNCommand
- Throws:
SVNException
-
handleInfo
Description copied from interface:ISVNInfoHandler
Handles item's information using an SVNInfo object.- Specified by:
handleInfo
in interfaceISVNInfoHandler
- Parameters:
info
- an object that contain's item's information details- Throws:
SVNException
-
printInfo
-
printInfoItem
- Throws:
SVNException
-
relativeUrl
-
printInfoItemString
private void printInfoItemString(java.lang.String text, java.lang.String targetPath) -
printInfoItemRevision
-
printInfoXML
-
printConflictVersionXML
private java.lang.StringBuffer printConflictVersionXML(SVNConflictVersion version, java.lang.String name, java.lang.StringBuffer target) -
findPrintWhat
- Throws:
SVNException
-
similarityCheck
private int similarityCheck(java.lang.String key, java.util.List<java.lang.String> tokens) -
stringDiff
private int stringDiff(java.lang.String s1, java.lang.String s2)
-