com.maverick.sshd.shell
Class Ls

java.lang.Object
  extended by com.maverick.sshd.shell.AbstractCommand
      extended by com.maverick.sshd.shell.Ls
All Implemented Interfaces:
ShellCommand, Completor

public class Ls
extends AbstractCommand


Field Summary
 
Fields inherited from class com.maverick.sshd.shell.AbstractCommand
exitCode
 
Fields inherited from interface com.maverick.sshd.shell.ShellCommand
STILL_ACTIVE, SUBSYSTEM_CALLBACK, SUBSYSTEM_FILESYSTEM, SUBSYSTEM_HELP, SUBSYSTEM_JVM, SUBSYSTEM_POLICY, SUBSYSTEM_SHELL, SUBSYSTEM_SSHD, SUBSYSTEM_SYSTEM, SUBSYSTEM_TEXT_EDITING
 
Constructor Summary
Ls()
           
 
Method Summary
protected  void printFile(org.apache.commons.cli.CommandLine cli, Console term, AbstractFile file)
           
 void run(org.apache.commons.cli.CommandLine args, VirtualProcess process)
           
 
Methods inherited from class com.maverick.sshd.shell.AbstractCommand
complete, getCollection, getCommandName, getDescription, getExitCode, getName, getOptions, getSignature, getSubsystem, isBuiltIn, setBuiltIn, setDescription, setName, setSignature, setSubsystem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ls

public Ls()
Method Detail

run

public void run(org.apache.commons.cli.CommandLine args,
                VirtualProcess process)
         throws IOException,
                PermissionDeniedException
Throws:
IOException
PermissionDeniedException

printFile

protected void printFile(org.apache.commons.cli.CommandLine cli,
                         Console term,
                         AbstractFile file)
                  throws IOException,
                         PermissionDeniedException
Throws:
IOException
PermissionDeniedException


Copyright © 2012. All Rights Reserved.