String generated,
String edited,
String charsetName)
throws GeneratorException
{
MergeAlgorithm mergeAlgorithm = new MergeAlgorithm();
MergeResult<RawText> mergeResult;
try
{
mergeResult = mergeAlgorithm.merge(
RawTextComparator.DEFAULT,
new RawText(base.getBytes(charsetName)),
new RawText(generated.getBytes(charsetName)),
new RawText(edited.getBytes(charsetName)));
}