package innovimax.mixthem.arguments;

/**
* <p>This is a detailed enumeration of modes used to mix files.</p>
* @author Innovimax
* @version 1.0
*/
public enum Mode {	
    CHAR("char"),
    BYTE("byte");
    
    private final String name;
    
    private Mode(final String name) {
        this.name = name;
    }
    
    /**
    * Returns the name of this mode on command line.
    * @return The name of the mode on command line
    */
    public String getName() {
        return this.name;
    }
    
}

@@ -499,10 +499,397 @@
  %7D%0A    %0A
+    /**%0A    * Finds the Mode object correponding to a name%0A    * @param name The name of the mode in command line%0A    * @return The %7B@link Mode%7D object%0A    */    %0A    public static Mode findByName(final String name) %7B%0A        for (Mode mode : values()) %7B%0A            if (mode.getName().equals(name)) %7B%0A                return mode;%0A            %7D%0A        %7D%0A        return null;%0A    %7D%0A    %0A
 %7D%0A

Update Mode.java