package innovimax.mixthem.arguments;

/**
* <p>This is a detailed enumeration of modes used for reading files.</p>
* @author Innovimax
* @version 1.0
*/
public enum FileMode {	
    CHAR("char"),
    BYTE("byte");
    
    private final String name;
    
    private FileMode(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;
    }
    
    /**
    * Finds the Mode object correponding to a name
    * @param name The name of the mode in command line
    * @return The {@link Mode} object
    */    
    public static Mode findByName(final String name) {
        for (Mode mode : values()) {
            if (mode.getName().equals(name)) {
                return mode;
            }
        }
        return null;
    }
    
}

@@ -536,16 +536,20 @@
 nds the 
+File
 Mode obj
@@ -605,24 +605,29 @@
 name of the 
+file 
 mode in comm
@@ -660,16 +660,20 @@
  %7B@link 
+File
 Mode%7D ob
@@ -706,16 +706,20 @@
  static 
+File
 Mode fin

Update FileMode.java