package innovimax.mixthem.interfaces;

import innovimax.mixthem.exceptions.MixException;

/**
* This interface provides for joining two lines
* @author Innovimax
* @version 1.0
*/
public interface IJoinLine {
	/**
 	* Joins two lines on the default first field.
 	* @param line1 The first line to be joined
 	* @param line2 The second line to be joined
 	* @return The result of joining lines, or null if no join possible
 	* @throws MixException - If an joining error occurs
 	*/	
	String join(String line1, String line2) throws MixException;
	/**
 	* Joins two lines on a common field
 	* @param line1 The first line to be joined
 	* @param line2 The second line to be joined
	* @param index The index of the common field
 	* @return The result of joining lines, or null if no join possible
 	* @throws MixException - If an joining error occurs
 	*/	
	String join(String line1, String line2, int index) throws MixException;
	/**
 	* Joins two lines on a common field that has a different index.
 	* @param line1 The first line to be joined
 	* @param line2 The second line to be joined
	* @param index1 The index of the common field in the first line
	* @param index2 The index of the common field in the second line
 	* @return The result of joining lines, or null if no join possible
 	* @throws MixException - If an joining error occurs
 	*/	
	String join(String line1, String line2, int index1, int index2) throws MixException;
}

@@ -83,16 +83,40 @@
 ption;%0A%0A
+import java.util.List;%0A%0A
 /**%0A* Th
@@ -1451,10 +1451,504 @@
 eption;%0A
+%09/**%0A %09* Joins two lines on a common field regarding the type.%0A %09* @param line1 The first line to be joined%0A %09* @param line2 The second line to be joined%0A%09* @param type The type of join asked for mixing%0A%09* @param params The additional parameter values (maybe empty)%0A %09* @return The result of joining lines, or null if no join possible%0A %09* @throws MixException - If an joining error occurs%0A %09*/%09%0A%09String join(String line1, String line2, JoinType type, List%3CString%3E params) throws MixException;%09%0A
 %7D%0A

Update IJoinLine.java