package innovimax.mixthem.interfaces;

import innovimax.mixthem.ReadType;

import java.io.IOException;

/**
* This interface provides for reading lines from an character-input.
* @author Innovimax
* @version 1.0
*/
public interface IInputLine {
	/**
	* Returns true if there is more lines.
	* @return Returns true if there is more lines
	* @throws IOException - If an I/O error occurs
	*/	
	boolean hasLine() throws IOException;
	/**
 	* Reads a line of characters or returns null if not eligible regarding type or no more lines.
 	* @param type The type of reading expected
 	* @param force True if reading is required whatever the type said
 	* @return The line of characters read, or null not eligible or no more lines
 	* @throws IOException - If an I/O error occurs
 	*/	
	String nextLine(ReadType type, boolean force) throws IOException;
	/**
	* Closes this input and releases any system resources associated with it.
	* @throws IOException - If an I/O error occurs
	*/
	void close() throws IOException;
}

@@ -438,35 +438,51 @@
  Reads a
- line of characters
+n eligible line regarding the type,
  or retu
@@ -510,23 +510,8 @@
 ble 
-regarding type 
 or n
@@ -657,31 +657,21 @@
 The 
+e
 li
-ne of characters read
+gible line
 , or
@@ -676,16 +676,19 @@
 or null 
+if 
 not elig

Update IInputLine.java