org.apache.felix.ipojo.arch
Class ArchCommandImpl

java.lang.Object
  extended by org.apache.felix.ipojo.arch.ArchCommandImpl
All Implemented Interfaces:
Command

public class ArchCommandImpl
extends Object
implements Command

Implementation of the arch command printing the actual architecture.

Author:
Felix Project Team

Constructor Summary
ArchCommandImpl()
           
 
Method Summary
 void execute(String line, PrintStream out, PrintStream err)
          Executes the arch command.
 String getName()
          Get the command name.
 String getShortDescription()
          Gets a small description.
 String getUsage()
          Gets help message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchCommandImpl

public ArchCommandImpl()
Method Detail

getName

public String getName()
Get the command name.

Specified by:
getName in interface Command
Returns:
the command name (arch)
See Also:
Command.getName()

getUsage

public String getUsage()
Gets help message.

Specified by:
getUsage in interface Command
Returns:
the command usage.
See Also:
Command.getUsage()

getShortDescription

public String getShortDescription()
Gets a small description.

Specified by:
getShortDescription in interface Command
Returns:
get a description.
See Also:
Command.getShortDescription()

execute

public void execute(String line,
                    PrintStream out,
                    PrintStream err)
Executes the arch command.

Specified by:
execute in interface Command
Parameters:
line - : command line
out - : the default output stream
err - : the error output stream
See Also:
Command.execute(java.lang.String, java.io.PrintStream, java.io.PrintStream)


Copyright © 2011 Apache Software Foundation. All Rights Reserved.