コード例 #1
0
 /**
  * Returns the arguments of the command in the command-line style. Similar to getCVSCommand()
  * however without the files and command's name
  */
 public String getCVSArguments() {
   StringBuffer cvsArguments = new StringBuffer();
   if (!isRecursive()) {
     cvsArguments.append("-l "); // NOI18N
   }
   return cvsArguments.toString();
 }
コード例 #2
0
 /** This method returns how the tag command would looklike when typed on the command line. */
 public String getCVSCommand() {
   StringBuffer cvsCommandLine = new StringBuffer("edit "); // NOI18N
   cvsCommandLine.append(getCVSArguments());
   appendFileArguments(cvsCommandLine);
   return cvsCommandLine.toString();
 }