org.netbeans.lib.cvsclient.commandLine.command
Class locbundlecheck

java.lang.Object
  extended by org.netbeans.lib.cvsclient.event.CVSAdapter
      extended by org.netbeans.lib.cvsclient.commandLine.command.locbundlecheck
All Implemented Interfaces:
CommandProvider, CVSListener

public class locbundlecheck
extends CVSAdapter
implements CommandProvider

The locbundlecheck command


Constructor Summary
locbundlecheck()
          A constructor that is used to create the CommandProvider.
 
Method Summary
 void commandTerminated(TerminationEvent e)
          called when server responses with "ok" or "error", (when the command finishes)
 Command createCommand(java.lang.String[] args, int index, GlobalOptions gopt, java.lang.String workDir)
          Create the CVS command from an array of arguments.
 void fileInfoGenerated(FileInfoEvent e)
          Called when file status information has been received
 java.lang.String getName()
          Get the name of this command.
 java.lang.String[] getSynonyms()
          Get the list of synonyms of names of this command.
 java.lang.String getUsage()
          Get a short string describibg the usage of the command.
 void printLongDescription(java.io.PrintStream out)
          Print a long help description (multi-line with all supported switches and their description) of this command to the provided print stream.
 void printShortDescription(java.io.PrintStream out)
          Print a short help description (one-line only) for this command to the provided print stream.
 
Methods inherited from class org.netbeans.lib.cvsclient.event.CVSAdapter
fileAdded, fileRemoved, fileToRemove, fileUpdated, messageSent, messageSent, moduleExpanded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

locbundlecheck

public locbundlecheck()
A constructor that is used to create the CommandProvider.

Method Detail

getName

public java.lang.String getName()
Description copied from interface: CommandProvider
Get the name of this command. The default implementation returns the name of the implementing class.

Specified by:
getName in interface CommandProvider

getSynonyms

public java.lang.String[] getSynonyms()
Description copied from interface: CommandProvider
Get the list of synonyms of names of this command.

Specified by:
getSynonyms in interface CommandProvider

getUsage

public java.lang.String getUsage()
Description copied from interface: CommandProvider
Get a short string describibg the usage of the command.

Specified by:
getUsage in interface CommandProvider

printShortDescription

public void printShortDescription(java.io.PrintStream out)
Description copied from interface: CommandProvider
Print a short help description (one-line only) for this command to the provided print stream.

Specified by:
printShortDescription in interface CommandProvider
Parameters:
out - The print stream.

printLongDescription

public void printLongDescription(java.io.PrintStream out)
Description copied from interface: CommandProvider
Print a long help description (multi-line with all supported switches and their description) of this command to the provided print stream.

Specified by:
printLongDescription in interface CommandProvider
Parameters:
out - The print stream.

createCommand

public Command createCommand(java.lang.String[] args,
                             int index,
                             GlobalOptions gopt,
                             java.lang.String workDir)
Description copied from interface: CommandProvider
Create the CVS command from an array of arguments.

Specified by:
createCommand in interface CommandProvider
Parameters:
args - The array of arguments passed to the command.
index - The index in the array where the command's arguments start.
workDir - The working directory.
Returns:
The implementation of the Command class, which have set the passed arguments.

fileInfoGenerated

public void fileInfoGenerated(FileInfoEvent e)
Description copied from class: CVSAdapter
Called when file status information has been received

Specified by:
fileInfoGenerated in interface CVSListener
Overrides:
fileInfoGenerated in class CVSAdapter

commandTerminated

public void commandTerminated(TerminationEvent e)
Description copied from class: CVSAdapter
called when server responses with "ok" or "error", (when the command finishes)

Specified by:
commandTerminated in interface CVSListener
Overrides:
commandTerminated in class CVSAdapter

 

Built on August 7 2008.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.