net.damf.console.comperation.command
Class ConsoleCommand

java.lang.Object
  extended by net.damf.console.comperation.command.ConsoleCommand
All Implemented Interfaces:
Comperation
Direct Known Subclasses:
DirectoryMerge, Navigate, Search, SetPrefs

public abstract class ConsoleCommand
extends java.lang.Object
implements Comperation


Field Summary
protected  char[] flag
           
protected  boolean fluked
           
protected  boolean inited
           
 
Constructor Summary
ConsoleCommand()
           
 
Method Summary
 int argumentsNeeded()
           
protected static java.lang.String[] crunchQuotes(java.lang.String[] param)
           
protected  java.lang.String[] gatherFlags(java.lang.String[] param)
           
abstract  Comperation giveFiles(java.lang.String[] files)
           
 boolean isInited()
           
abstract  java.lang.String[] make(java.lang.String[] param)
           
abstract  boolean perform()
           
 boolean requiresCommand()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inited

protected boolean inited

fluked

protected boolean fluked

flag

protected char[] flag
Constructor Detail

ConsoleCommand

public ConsoleCommand()
Method Detail

requiresCommand

public boolean requiresCommand()
Specified by:
requiresCommand in interface Comperation

argumentsNeeded

public int argumentsNeeded()
Specified by:
argumentsNeeded in interface Comperation

make

public abstract java.lang.String[] make(java.lang.String[] param)
Specified by:
make in interface Comperation

crunchQuotes

protected static java.lang.String[] crunchQuotes(java.lang.String[] param)

gatherFlags

protected java.lang.String[] gatherFlags(java.lang.String[] param)

giveFiles

public abstract Comperation giveFiles(java.lang.String[] files)
Specified by:
giveFiles in interface Comperation

isInited

public boolean isInited()
Specified by:
isInited in interface Comperation

perform

public abstract boolean perform()
Specified by:
perform in interface Comperation