src/org/jnetpcap/packet/JRegistry.java
public static AnnotatedHeader lookupAnnotatedHeader(int id)
			throws UnregisteredHeaderException {
		if (MAP_BY_ID[id] == null || MAP_BY_ID[id].annotatedHeader == null) {
			throw new UnregisteredHeaderException("header [" + id
					+ "] not registered");
		}

		return MAP_BY_ID[id].annotatedHeader;
	}
/**
	 * Lookup annotated header.
	 * 
	 * @param id
	 *          the id
	 * @return the annotated header
	 * @throws UnregisteredHeaderException
	 *           the unregistered header exception
	 */
Lookup annotated header.

@param id
the id
@return the annotated header
@throws UnregisteredHeaderException
the unregistered header exception
Lookup annotated header . @param id the id @return the annotated header @throws UnregisteredHeaderException the unregistered header exception
public static AnnotatedHeader lookupAnnotatedHeader(int id)
			throws UnregisteredHeaderException {
		if (MAP_BY_ID[id] == null || MAP_BY_ID[id].annotatedHeader == null) {
			throw new UnregisteredHeaderException("header [" + id
					+ "] not registered");
		}
		return MAP_BY_ID[id].annotatedHeader;
	}
public static AnnotatedHeader lookupAnnotatedHeader ( int id ) throws UnregisteredHeaderException { if ( MAP_BY_ID [ id ] == null || MAP_BY_ID [ id ] . annotatedHeader == null ) { throw new UnregisteredHeaderException ( "header [" + id + "] not registered" ) ; } return MAP_BY_ID [ id ] . annotatedHeader ; }
Lookup annotated header.
Lookup annotated header .