Class SVNCommandUtil

java.lang.Object
org.tmatesoft.svn.cli.SVNCommandUtil

public class SVNCommandUtil extends java.lang.Object
Version:
1.3
  • Constructor Details

    • SVNCommandUtil

      public SVNCommandUtil()
  • Method Details

    • getLocalPath

      public static java.lang.String getLocalPath(java.lang.String path)
    • isURL

      public static boolean isURL(java.lang.String pathOrUrl)
    • mergeFileExternally

      public static void mergeFileExternally(AbstractSVNCommandEnvironment env, java.lang.String basePath, java.lang.String repositoryPath, java.lang.String localPath, java.lang.String mergeResultPath, java.lang.String wcPath, boolean[] remainsInConflict) throws SVNException
      Throws:
      SVNException
    • editFileExternally

      public static void editFileExternally(AbstractSVNCommandEnvironment env, java.lang.String editorCommand, java.lang.String path) throws SVNException
      Throws:
      SVNException
    • runEditor

      public static byte[] runEditor(AbstractSVNCommandEnvironment env, java.lang.String editorCommand, byte[] existingValue, java.lang.String prefix) throws SVNException
      Throws:
      SVNException
    • runEditor

      private static java.lang.String runEditor(java.lang.String editorCommand, java.lang.String[] args, java.lang.String[] env, ISVNReturnValueCallback callback) throws SVNException
      Throws:
      SVNException
    • prompt

      public static java.lang.String prompt(java.lang.String promptMessage, SVNCommandEnvironment env) throws SVNException
      Throws:
      SVNException
    • getEditorCommand

      private static java.lang.String getEditorCommand(AbstractSVNCommandEnvironment env, java.lang.String editorCommand) throws SVNException
      Throws:
      SVNException
    • getLinesCount

      public static int getLinesCount(java.lang.String str)
    • breakToLines

      public static java.lang.String[] breakToLines(java.lang.String str)
    • getCommandHelp

      public static java.lang.String getCommandHelp(AbstractSVNCommand command, java.lang.String programName, boolean printOptionAlias)
    • getVersion

      public static java.lang.String getVersion(AbstractSVNCommandEnvironment env, boolean quiet)
    • getGenericHelp

      public static java.lang.String getGenericHelp(java.lang.String programName, java.lang.String header, java.lang.String footer, java.util.Comparator commandComparator)
    • parseConfigOption

      public static void parseConfigOption(java.lang.String optionArg, java.util.Map configOptions, java.util.Map serversOptions) throws SVNException
      Throws:
      SVNException