src/org/jnetpcap/packet/JRegistry.java
public static void clearScanners(Object container) {
		AnnotatedScannerMethod[] methods =
				AnnotatedScannerMethod.inspectObject(container);

		int[] ids = new int[methods.length];

		for (int i = 0; i < ids.length; i++) {
			ids[i] = methods[i].getId();
		}

		clearScanners(ids);
	}
/**
	 * Removes previously registered scanners that are defined in the supplied
	 * object container. Any scanners within the supplied container are retrieved
	 * and all the currently registered java scanner for the headers that the
	 * retrieved scanners target, are cleared.
	 * 
	 * @param container
	 *          container object containing scanner methods which target headers
	 *          that will be cleared of java scanners
	 */
Removes previously registered scanners that are defined in the supplied
object container. Any scanners within the supplied container are retrieved
and all the currently registered java scanner for the headers that the
retrieved scanners target, are cleared.

@param container
container object containing scanner methods which target headers
that will be cleared of java scanners
Removes previously registered scanners that are defined in the supplied object container . Any scanners within the supplied container are retrieved and all the currently registered java scanner for the headers that the retrieved scanners target are cleared . @param container container object containing scanner methods which target headers that will be cleared of java scanners
public static void clearScanners(Object container) {
		AnnotatedScannerMethod[] methods =
				AnnotatedScannerMethod.inspectObject(container);
		int[] ids = new int[methods.length];
		for (int i = 0; i < ids.length; i++) {
			ids[i] = methods[i].getId();
		}
		clearScanners(ids);
	}
public static void clearScanners ( Object container ) { AnnotatedScannerMethod [ ] methods = AnnotatedScannerMethod . inspectObject ( container ) ; int [ ] ids = new int [ methods . length ] ; for ( int i = 0 ; i < ids . length ; i ++ ) { ids [ i ] = methods [ i ] . getId ( ) ; } clearScanners ( ids ) ; }
Removes previously registered scanners that are defined in the supplied
 object container.
Removes previously registered scanners that are defined in the supplied object container .