sam.rules
Class Rule

java.lang.Object
  |
  +--sam.rules.Rule

public abstract class Rule
extends java.lang.Object

Class representing one of the rules the program has to follow.

A rule describes one of the variable parameter that control he program behaviour, e.g. the archive name, the ciphers to be used, etc.

See Also:
Syntax, ModusOperandi

Constructor Summary
Rule()
           
 
Method Summary
abstract  void saveTo(java.util.jar.JarOutputStream archive)
          Saves this rule parameter to specified archive
abstract  void setTo(sam.rules.ModusOperandi modusOperandi)
          Sets this rule parameter to specified modusOperandi
abstract  java.lang.String toSwitch()
          Turns this rule into a parsable switch
abstract  java.lang.String verbose()
          Verbosely describes this rule parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rule

public Rule()
Method Detail

setTo

public abstract void setTo(sam.rules.ModusOperandi modusOperandi)
Sets this rule parameter to specified modusOperandi


saveTo

public abstract void saveTo(java.util.jar.JarOutputStream archive)
Saves this rule parameter to specified archive


toSwitch

public abstract java.lang.String toSwitch()
Turns this rule into a parsable switch


verbose

public abstract java.lang.String verbose()
Verbosely describes this rule parameter