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 booleanprivate booleanprivate SVNInfoCommand.SVNInfoItemTypeprivate booleanprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected java.util.Collectionprivate voidfindPrintWhat(java.lang.String keyword) voidhandleInfo(SVNInfo info) Handles item's information using an SVNInfo object.private java.lang.StringBufferprintConflictVersionXML(SVNConflictVersion version, java.lang.String name, java.lang.StringBuffer target) protected voidprivate voidprintInfoItem(SVNInfo info) private voidprintInfoItemRevision(SVNRevision revision, java.lang.String targetPath) private voidprintInfoItemString(java.lang.String text, java.lang.String targetPath) protected voidprintInfoXML(SVNInfo info) private java.lang.StringrelativeUrl(SVNInfo info) voidrun()private intsimilarityCheck(java.lang.String key, java.util.List<java.lang.String> tokens) private intstringDiff(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, printXMLPropHashMethods inherited from class org.tmatesoft.svn.cli.svn.SVNCommand
acceptsRevisionRange, getFileAmbigousErrorMessage, getGlobalOptions, getMessageAmbigousErrorMessage, getResourceBundleName, getSVNEnvironment, isCommitterMethods inherited from class org.tmatesoft.svn.cli.AbstractSVNCommand
availableCommands, getAliases, getCommand, getDescription, getEnvironment, getName, getSupportedOptions, getValidOptions, init, isAlias, isFailed, isOptionSupported, registerCommand, setFailedMethods 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:
createSupportedOptionsin classAbstractSVNCommand
-
run
- Specified by:
runin classAbstractSVNCommand- Throws:
SVNException
-
handleInfo
Description copied from interface:ISVNInfoHandlerHandles item's information using an SVNInfo object.- Specified by:
handleInfoin 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)
-