OxygenXMLDiff 4.0 API

ro.sync.diff.api
Class DiffPerformerFactory

java.lang.Object
  extended by ro.sync.diff.api.DiffPerformerFactory

public class DiffPerformerFactory
extends java.lang.Object

Factory used to create a difference performer, used to compare two resources using different algorithms and options.


Constructor Summary
DiffPerformerFactory()
           
 
Method Summary
static DifferencePerformer createDiffPerformer()
          Create difference performer.
static void registerLicenseKey(java.io.Reader licenseReader)
          The license key reader to the diff performer factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiffPerformerFactory

public DiffPerformerFactory()
Method Detail

createDiffPerformer

public static DifferencePerformer createDiffPerformer()
                                               throws DiffException
Create difference performer.

Returns:
a difference performer that can be used to compare two resources using different algorithms and options.
Throws:
DiffException - When it fails to create the diff performer.

registerLicenseKey

public static void registerLicenseKey(java.io.Reader licenseReader)
                               throws DiffException
The license key reader to the diff performer factory.

Parameters:
licenseReader - The reader from where the license should be read.
Throws:
DiffException - Thrown if the license could not be read.

OxygenXMLDiff 4.0 API

© Copyright SyncRO Soft SRL 2002 - 2011.