Package org.tmatesoft.svn.cli
Class SVNCommandUtil
java.lang.Object
org.tmatesoft.svn.cli.SVNCommandUtil
- Version:
- 1.3
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]breakToLines(String str) static voideditFileExternally(AbstractSVNCommandEnvironment env, String editorCommand, String path) static StringgetCommandHelp(AbstractSVNCommand command, String programName, boolean printOptionAlias) private static StringgetEditorCommand(AbstractSVNCommandEnvironment env, String editorCommand) static StringgetGenericHelp(String programName, String header, String footer, Comparator commandComparator) static intgetLinesCount(String str) static StringgetLocalPath(String path) static StringgetVersion(AbstractSVNCommandEnvironment env, boolean quiet) static booleanstatic voidmergeFileExternally(AbstractSVNCommandEnvironment env, String basePath, String repositoryPath, String localPath, String mergeResultPath, String wcPath, boolean[] remainsInConflict) static voidparseConfigOption(String optionArg, Map configOptions, Map serversOptions) static Stringprompt(String promptMessage, SVNCommandEnvironment env) private static StringrunEditor(String editorCommand, String[] args, String[] env, ISVNReturnValueCallback callback) static byte[]runEditor(AbstractSVNCommandEnvironment env, String editorCommand, byte[] existingValue, String prefix)
-
Constructor Details
-
SVNCommandUtil
public SVNCommandUtil()
-
-
Method Details
-
getLocalPath
-
isURL
-
mergeFileExternally
public static void mergeFileExternally(AbstractSVNCommandEnvironment env, String basePath, String repositoryPath, String localPath, String mergeResultPath, String wcPath, boolean[] remainsInConflict) throws SVNException - Throws:
SVNException
-
editFileExternally
public static void editFileExternally(AbstractSVNCommandEnvironment env, String editorCommand, String path) throws SVNException - Throws:
SVNException
-
runEditor
public static byte[] runEditor(AbstractSVNCommandEnvironment env, String editorCommand, byte[] existingValue, String prefix) throws SVNException - Throws:
SVNException
-
runEditor
private static String runEditor(String editorCommand, String[] args, String[] env, ISVNReturnValueCallback callback) throws SVNException - Throws:
SVNException
-
prompt
- Throws:
SVNException
-
getEditorCommand
private static String getEditorCommand(AbstractSVNCommandEnvironment env, String editorCommand) throws SVNException - Throws:
SVNException
-
getLinesCount
-
breakToLines
-
getCommandHelp
public static String getCommandHelp(AbstractSVNCommand command, String programName, boolean printOptionAlias) -
getVersion
-
getGenericHelp
public static String getGenericHelp(String programName, String header, String footer, Comparator commandComparator) -
parseConfigOption
public static void parseConfigOption(String optionArg, Map configOptions, Map serversOptions) throws SVNException - Throws:
SVNException
-