src/org/jnetpcap/util/resolver/IEEEOuiPrefixResolver.java
@Override
	public int loadCache(URL url) throws IOException {
		if (url == null) {
			url = new URL(IEEE_OUI_DATABASE_PATH);
		}
		return readOuisFromRawIEEEDb(new BufferedReader(new InputStreamReader(
				url.openStream())));
	}
/**
	 * Download IEEE supplied OUI.txt database of manufacturer prefixes and codes.
	 * The file is downloaded using the protocol specified in the URL, parsed and
	 * cached indefinately. The machine making the URL connection must have
	 * internet connection available as well as neccessary security permissions
	 * form JRE in order to make the connection.
	 * <p>
	 * 
	 * @param url
	 *          The url of the IEEE resource to load. If the url is null, the
	 *          default uri is attempted {@value #IEEE_OUI_DATABASE_PATH}.
	 * @return number of entries cached
	 * @throws IOException
	 *           any IO errors
	 */
Download IEEE supplied OUI.txt database of manufacturer prefixes and codes.
The file is downloaded using the protocol specified in the URL, parsed and
cached indefinately. The machine making the URL connection must have
internet connection available as well as neccessary security permissions
form JRE in order to make the connection.

@param url
The url of the IEEE resource to load. If the url is null, the
default uri is attempted  #IEEE_OUI_DATABASE_PATH.
@return number of entries cached
@throws IOException
any IO errors
Download IEEE supplied OUI . txt database of manufacturer prefixes and codes . The file is downloaded using the protocol specified in the URL parsed and cached indefinately . The machine making the URL connection must have internet connection available as well as neccessary security permissions form JRE in order to make the connection . @param url The url of the IEEE resource to load . If the url is null the default uri is attempted #IEEE_OUI_DATABASE_PATH . @return number of entries cached @throws IOException any IO errors
@Override
	public int loadCache(URL url) throws IOException {
		if (url == null) {
			url = new URL(IEEE_OUI_DATABASE_PATH);
		}
		return readOuisFromRawIEEEDb(new BufferedReader(new InputStreamReader(
				url.openStream())));
	}
@ Override public int loadCache ( URL url ) throws IOException { if ( url == null ) { url = new URL ( IEEE_OUI_DATABASE_PATH ) ; } return readOuisFromRawIEEEDb ( new BufferedReader ( new InputStreamReader ( url . openStream ( ) ) ) ) ; }
Download IEEE supplied OUI.txt database of manufacturer prefixes and codes.
Download IEEE supplied OUI . txt database of manufacturer prefixes and codes .