|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.netbeans.lib.cvsclient.commandLine.CVSCommand
An implementation of the standard CVS client utility (command line tool) in Java
| Constructor Summary | |
CVSCommand()
|
|
| Method Summary | |
boolean |
executeCommand(Command command)
Execute a configured CVS command |
static void |
main(java.lang.String[] args)
Execute the CVS command and exit JVM. |
static boolean |
processCommand(java.lang.String[] args,
java.io.File[] files,
java.lang.String localPath,
int port,
java.io.PrintStream stdout,
java.io.PrintStream stderr)
Process the CVS command passed in args[] array with all necessary options. |
static boolean |
processCommand(java.lang.String[] args,
java.io.File[] files,
java.lang.String localPath,
java.io.PrintStream stdout,
java.io.PrintStream stderr)
Process the CVS command passed in args[] array with all necessary options. |
void |
setGlobalOptions(GlobalOptions globalOptions)
|
void |
setLocalPath(java.lang.String localPath)
|
void |
setRepository(java.lang.String repository)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CVSCommand()
| Method Detail |
public boolean executeCommand(Command command)
throws CommandException,
AuthenticationException
command - the command to execute
CommandException - if there is an error running the command
AuthenticationExceptionpublic void setRepository(java.lang.String repository)
public void setLocalPath(java.lang.String localPath)
public void setGlobalOptions(GlobalOptions globalOptions)
public static void main(java.lang.String[] args)
public static boolean processCommand(java.lang.String[] args,
java.io.File[] files,
java.lang.String localPath,
java.io.PrintStream stdout,
java.io.PrintStream stderr)
args - The command with optionsfiles - The files to execute the command on.localPath - The local working directorystdout - The standard output of the commandstderr - The error output of the command.
public static boolean processCommand(java.lang.String[] args,
java.io.File[] files,
java.lang.String localPath,
int port,
java.io.PrintStream stdout,
java.io.PrintStream stderr)
args - The command with optionsfiles - The files to execute the command on.localPath - The local working directoryport - The port number that is used to connect to the remote server.
It is taken into account only when it's value is greater then zero.stdout - The standard output of the commandstderr - The error output of the command.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||