@Test public void testDifferentFingerprint() throws IOException { final String fp1 = fingerprinter.createFingerprint(getResourceBytes("/nifi/fingerprint/flow1a.xml"), null); final String fp2 = fingerprinter.createFingerprint(getResourceBytes("/nifi/fingerprint/flow2.xml"), null); assertNotEquals(fp1, fp2); }
public synchronized String createFingerprint(final byte[] flowBytes) throws FingerprintException { return createFingerprint(flowBytes, null); }
FingerprintFactory { public synchronized String createFingerprint(final byte[] flowBytes) throws FingerprintException { return createFingerprint(flowBytes, null); } }
FingerprintFactory { public synchronized String createFingerprint(final byte[] flowBytes) throws FingerprintException { return createFingerprint(flowBytes, null); } FingerprintFactory(final StringEncryptor encryptor);  FingerprintFactory(final StringEncryptor encryptor, final DocumentBuilder docBuilder); }
FingerprintFactory { public synchronized String createFingerprint(final byte[] flowBytes) throws FingerprintException { return createFingerprint(flowBytes, null); } FingerprintFactory(final StringEncryptor encryptor);  FingerprintFactory(final StringEncryptor encryptor, final DocumentBuilder docBuilder); synchronized String createFingerprint(final byte[] flowBytes); synchronized String createFingerprint(final byte[] flowBytes, final FlowController controller); }
FingerprintFactory { public synchronized String createFingerprint(final byte[] flowBytes) throws FingerprintException { return createFingerprint(flowBytes, null); } FingerprintFactory(final StringEncryptor encryptor);  FingerprintFactory(final StringEncryptor encryptor, final DocumentBuilder docBuilder); synchronized String createFingerprint(final byte[] flowBytes); synchronized String createFingerprint(final byte[] flowBytes, final FlowController controller); static final String NO_VALUE; }