Rio Project 4.2 API Documentation
org.rioproject.tools.cli
Class DirHandler
java.lang.Object
org.rioproject.tools.cli.DirHandler
- All Implemented Interfaces:
- OptionHandler
public class DirHandler
- extends Object
- implements OptionHandler
Handles directory commands
- Author:
- Dennis Reedy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirHandler
public DirHandler()
process
public String process(String input,
BufferedReader br,
PrintStream out)
- Description copied from interface:
OptionHandler
- Process the option.
- Specified by:
process in interface OptionHandler
- Parameters:
input - Parameters for the option, may be nullbr - An optional BufferdReader, used if the option requires input.
if this is null, the option handler may create a BufferedReader to
handle the inputout - The PrintStream to use if the option prints results or
choices for the user. Must not be null
- Returns:
- The result of the action.
getUsage
public String getUsage()
- Description copied from interface:
OptionHandler
- Get the usage of the command
- Specified by:
getUsage in interface OptionHandler
- Returns:
- Command usage
Copyright © 2006-2011 Rio Project. All Rights Reserved.