public String getSimpleDiffString(TYPE difftype) {
		StringBuilder deltas = new StringBuilder();
		for(Delta delta:getPatch().getDeltas()){
			if(delta.getType()==difftype){
				deltas.append(delta.toString());
				deltas.append(System.getProperty("line.separator"));
			}
		}
		return deltas.toString();
	}
public String getSimpleDiffString ( TYPE difftype ) { StringBuilder deltas = new StringBuilder ( ) ; for ( Delta delta : getPatch ( ) . getDeltas ( ) ) { if ( delta . getType ( ) == difftype ) { deltas . append ( delta . toString ( ) ) ; deltas . append ( System . getProperty ( "line.separator" ) ) ; } } return deltas . toString ( ) ; }
Returns the deltas between beforeText and afterText as a line separated String
using delta.toString()
For more detailed diffs, use getPatch() or getUnifiedDiffStrings()

@param difftype defines the type of diffs to include in the String
@return diffs as line-separated String using delta.toString()