org.tranche.clc
Class AddAdministratorItem

java.lang.Object
  extended by org.tranche.clc.TrancheServerCommandLineClientItem
      extended by org.tranche.clc.AddAdministratorItem
All Implemented Interfaces:
java.lang.Comparable

public class AddAdministratorItem
extends TrancheServerCommandLineClientItem

Class inherited from the Tranche Server CLC Item for adding an administrator item.

Author:
Jayson Falkner - jfalkner@umich.edu

Constructor Summary
AddAdministratorItem(TrancheServer dfs, TrancheServerCommandLineClient dfsclc)
          Add a new administrator to the server's configuration.
 
Method Summary
 void doAction(java.io.BufferedReader in, java.io.PrintStream out)
          Parse out from input buffer the administrator information to fill the CLC item.
 
Methods inherited from class org.tranche.clc.TrancheServerCommandLineClientItem
addAttribute, addAttribute, compareTo, getAttributes, getDescription, getName, getParameter, getTrancheServer, getTrancheServerCommandLineClient, preDoAction, splitCommandLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddAdministratorItem

public AddAdministratorItem(TrancheServer dfs,
                            TrancheServerCommandLineClient dfsclc)
Add a new administrator to the server's configuration.

Parameters:
dfs - the Tranche server received
dfsclc - the Tranche server command line client received
Method Detail

doAction

public void doAction(java.io.BufferedReader in,
                     java.io.PrintStream out)
Parse out from input buffer the administrator information to fill the CLC item.

Specified by:
doAction in class TrancheServerCommandLineClientItem
Parameters:
in - the buffered reader
out - the print stream


This code is free for use both commercially and non-commercially as stated in the project's license