package innovimax.mixthem.interfaces;

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
 	* @return The line of characters read, or null if there is no more lines.
 	* @throws IOException - If an I/O error occurs
 	*/	
	String nextLine() 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;	

	/**
	* Preloads this input by reading all the lines of characters in memory.
	* @throws IOException - If an I/O error occurs
	*/
	void preload() throws IOException;		
	/**
	* Returns the number of lines preloaded.
	* @return The number of lines preloaded, or -1 if no preloading nas been done
	*/	
	int size();
	/**
	* Returns true if there is a line with the given index.
	* @return Returns true if this line exists
	*/	
	boolean hasLine(int index);
	/**
 	* Reads the line with the given index
 	* @return The line with the given index, or null if there is not exists.
 	*/	
	String getLine(int index);
}

@@ -340,32 +340,39 @@
 or occurs%0A%09*/%09%0A%09
+public 
 boolean hasLine(
@@ -389,24 +389,24 @@
 OException;%0A
-
 %09/**%0A %09* Rea
@@ -557,24 +557,31 @@
 curs%0A %09*/%09%0A%09
+public 
 String nextL
@@ -742,649 +742,47 @@
 %09*/%0A
-  void close() throws IOException;%09%0A%0A%09/**%0A%09* Preloads this input by reading all the lines of characters in memory.%0A%09* @throws IOException - If an I/O error occurs%0A%09*/%0A%09void preload() throws IOException;%09%09%0A%09/**%0A%09* Returns the number of lines preloaded.%0A%09* @return The number of lines preloaded, or -1 if no preloading nas been done%0A%09*/%09%0A%09int size();%0A%09/**%0A%09* Returns true if there is a line with the given index.%0A%09* @return Returns true if this line exists%0A%09*/%09%0A%09boolean hasLine(int index);%0A%09/**%0A %09* Reads the line with the given index%0A %09* @return The line with the given index, or null if there is not exists.%0A %09*/%09%0A%09String getLine(int index)
+%09public void close() throws IOException
 ;%0A%7D%0A

Update IInputLine.java