guiffy.inside

The guiffy.inside package provides an API for building Guiffy inside Java applications --- or applets(trusted) --- or web application servlets.
The class GuiffyDiff provides an API (non-GUI) for Guiffy's "diff" and verify methods. GuiffyDiff is an extended Thread.
The class GuiffyFrame is the GUI component for Guiffy. GuiffyFrame extends JFrame.
The class GuiffyPanel is another GUI component for Guiffy. GuiffyPanel extends JPanel and allows for a tighter integration with Guiffy as a JPanel(without Guiffy's Menu or Tool bars).
The class GuiffySureMerge provides an API for performing SureMerges without a GUI. GuiffySureMerge is an extended Thread.
The class GuiffyReport provides an API (non-GUI) for creating Compare Reports as HTML. GuiffyReport is an extended Thread.
The class GuiffyUPatch provides an API (non-GUI) for performing patches with Unified Diff patch files. GuiffyUPatch is an extended Thread.

The javadoc for GuiffyDiff documents the Guiffy "diff" class and all its methods. The javadoc includes example code.

The javadoc for GuiffyFrame documents the Guiffy GUI component class and all its methods.

The javadoc for GuiffyPanel documents the Guiffy GUI Panel component class and all its methods.

The javadoc for GuiffySureMerge documents the Guiffy SureMerge class and all its methods. The javadoc includes example code.

The javadoc for GuiffyReport documents the GuiffyReport class and all its methods. GuiffyReport is the non-GUI Compare Report (as HTML) engine. The javadoc includes example code.

The javadoc for GuiffyUPatch documents the GuiffyUPatch class and all its methods. GuiffyUPatch is the non-GUI Unified Diff patch engine. The javadoc includes example code.

The javadoc for GuiffyExit documents the interface for adding a user hook method called when GuiffyFrame, GuiffySureMerge, GuiffyReport, or GuiffyUPatch exits.

To get started... Add the Guiffy.jar, Guiffy3p.jar, GuiffyID.jar, and jh.jar files(in Guiffy's install folder) to your CLASSPATH.

Then, Add code such as in the example below to your Java application:

import com.guiffy.inside.*;
...
    GuiffyFrame gf = new GuiffyFrame (false);
...
    if ( SecfileName == null ) {
      // Show the Guiffy "Ready" 
      gf.setVisible(true);
      System.err.println("Here I am, after 'Ready'(no files speced)");
      return;
    }
...
    gf.set1stFile( FirfileName );
    gf.set2ndFile( SecfileName );
    // DO A COMPARE 
    try { 
      gf.compareFiles(true);
    }
    catch (Exception e) { System.err.println ( e.toString() ); }
    System.err.println("Here I am, after compareFiles()");
...


That's "IT" - you're all guiffy inside! ;-)

Documentation by Guiffy Software, Inc. 2012