org.apache.hadoop.fs
Class FsShell.Usage

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.hadoop.fs.shell.Command
          extended by org.apache.hadoop.fs.shell.FsCommand
              extended by org.apache.hadoop.fs.FsShell.Usage
All Implemented Interfaces:
Configurable
Enclosing class:
org.apache.hadoop.fs.FsShell

protected class FsShell.Usage
extends org.apache.hadoop.fs.shell.FsCommand

Display help for commands with their short usage and long description


Field Summary
static String DESCRIPTION
           
static String NAME
           
static String USAGE
           
 
Fields inherited from class org.apache.hadoop.fs.shell.Command
args, err, exceptions, exitCode, name, numErrors, out, recursive
 
Constructor Summary
protected FsShell.Usage()
           
 
Method Summary
protected  void processRawArguments(LinkedList<String> args)
          Allows commands that don't use paths to handle the raw arguments.
 
Methods inherited from class org.apache.hadoop.fs.shell.FsCommand
getCommandName, registerCommands, run, runAll
 
Methods inherited from class org.apache.hadoop.fs.shell.Command
displayError, displayError, displayWarning, exitCodeForError, expandArgument, expandArguments, getDepth, getDescription, getName, getReplacementCommand, getUsage, isDeprecated, isRecursive, processArgument, processArguments, processNonexistentPath, processOptions, processPath, processPathArgument, processPaths, recursePath, run, setName, setRecursive
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

USAGE

public static final String USAGE
See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
See Also:
Constant Field Values
Constructor Detail

FsShell.Usage

protected FsShell.Usage()
Method Detail

processRawArguments

protected void processRawArguments(LinkedList<String> args)
Description copied from class: org.apache.hadoop.fs.shell.Command
Allows commands that don't use paths to handle the raw arguments. Default behavior is to expand the arguments via Command.expandArguments(LinkedList) and pass the resulting list to Command.processArguments(LinkedList)

Overrides:
processRawArguments in class org.apache.hadoop.fs.shell.Command
Parameters:
args - the list of argument strings


Copyright © 2012 Apache Software Foundation. All Rights Reserved.