public class SVNInfoCommand extends SVNXMLCommand implements ISVNInfoHandler
| Modifier and Type | Class and Description |
|---|---|
private static class |
SVNInfoCommand.SVNInfoItemType |
| Modifier and Type | Field and Description |
|---|---|
private boolean |
myIsMultipleTargets |
private boolean |
myIsStartNewLine |
private SVNInfoCommand.SVNInfoItemType |
myPrintWhat |
private boolean |
myTargetIsPath |
private static int |
SIM_RANGE_MAX |
| Constructor and Description |
|---|
SVNInfoCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection |
createSupportedOptions() |
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 |
printInfo(SVNInfo info) |
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) |
addXMLProp, closeXMLTag, openCDataTag, openXMLTag, openXMLTag, printXMLFooter, printXMLHeader, printXMLPropHashacceptsRevisionRange, getFileAmbigousErrorMessage, getGlobalOptions, getMessageAmbigousErrorMessage, getResourceBundleName, getSVNEnvironment, isCommitteravailableCommands, getAliases, getCommand, getDescription, getEnvironment, getName, getSupportedOptions, getValidOptions, init, isAlias, isFailed, isOptionSupported, registerCommand, setFailedprivate boolean myIsMultipleTargets
private boolean myIsStartNewLine
private SVNInfoCommand.SVNInfoItemType myPrintWhat
private boolean myTargetIsPath
private static final int SIM_RANGE_MAX
protected java.util.Collection createSupportedOptions()
createSupportedOptions in class AbstractSVNCommandpublic void run()
throws SVNException
run in class AbstractSVNCommandSVNExceptionpublic void handleInfo(SVNInfo info) throws SVNException
ISVNInfoHandlerhandleInfo in interface ISVNInfoHandlerinfo - an object that contain's item's information detailsSVNExceptionprotected void printInfo(SVNInfo info)
private void printInfoItem(SVNInfo info) throws SVNException
SVNExceptionprivate java.lang.String relativeUrl(SVNInfo info)
private void printInfoItemString(java.lang.String text,
java.lang.String targetPath)
private void printInfoItemRevision(SVNRevision revision, java.lang.String targetPath)
protected void printInfoXML(SVNInfo info)
private java.lang.StringBuffer printConflictVersionXML(SVNConflictVersion version, java.lang.String name, java.lang.StringBuffer target)
private void findPrintWhat(java.lang.String keyword)
throws SVNException
SVNExceptionprivate int similarityCheck(java.lang.String key,
java.util.List<java.lang.String> tokens)
private int stringDiff(java.lang.String s1,
java.lang.String s2)