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 void
editFileExternally
(AbstractSVNCommandEnvironment env, String editorCommand, String path) static String
getCommandHelp
(AbstractSVNCommand command, String programName, boolean printOptionAlias) private static String
getEditorCommand
(AbstractSVNCommandEnvironment env, String editorCommand) static String
getGenericHelp
(String programName, String header, String footer, Comparator commandComparator) static int
getLinesCount
(String str) static String
getLocalPath
(String path) static String
getVersion
(AbstractSVNCommandEnvironment env, boolean quiet) static boolean
static void
mergeFileExternally
(AbstractSVNCommandEnvironment env, String basePath, String repositoryPath, String localPath, String mergeResultPath, String wcPath, boolean[] remainsInConflict) static void
parseConfigOption
(String optionArg, Map configOptions, Map serversOptions) static String
prompt
(String promptMessage, SVNCommandEnvironment env) private static String
runEditor
(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
-