How to compare two finger prints file in java

Steps for compare two finger print files.

// Make obj of NBioBSPJNI
NBioBSPJNI bsp = new NBioBSPJNI();

// Make two obj for two files.
NBioBSPJNI.INPUT_FIR inputFIR = bsp.new INPUT_FIR();
NBioBSPJNI.INPUT_FIR inputFIR1 = bsp.new INPUT_FIR();

Boolean bResult = new Boolean(false);
NBioBSPJNI.FIR_PAYLOAD payload = bsp.new FIR_PAYLOAD();

NBioBSPJNI.FIR_TEXTENCODE textSavedFIR = bsp.new FIR_TEXTENCODE();
textSavedFIR.TextFIR = fingureData;

NBioBSPJNI.FIR_TEXTENCODE textSavedFIR1 = bsp.new FIR_TEXTENCODE();
textSavedFIR1.TextFIR = dbData;

//Set both files in these objects.
inputFIR.SetTextFIR(textSavedFIR);
inputFIR1. SetTextFIR(textSavedFIR1);

// call verify mathod.
bsp.VerifyMatch(inputFIR1, inputFIR, bResult, payload);

System.out.println(bResult);
return bResult;