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
 	* @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 if there is 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;
}

@@ -457,16 +457,81 @@
 aracters
+ or returns null if not eligible regarding type or no more lines.
 %0A %09* @pa
@@ -685,27 +685,31 @@
 or null 
-if there is
+not eligible or
  no more
@@ -710,25 +710,24 @@
 o more lines
-.
 %0A %09* @throws

Update IInputLine.java