src/org/jnetpcap/util/resolver/AbstractResolver.java
public int loadCache(String file) throws IOException {

		File f = new File(file);
		if (f.canRead() == false) {
			return 0;
		}

		final BufferedReader in = new BufferedReader(new FileReader(f));

		return loadCache(in);
	}
/**
	 * Load cache entries from file. Each cached entry is saved with a timeout
	 * timestamp. If the timeout is already expired, the entry is skipped.
	 * 
	 * @param file
	 *          file to load cache entries from
	 * @return number of entries saved
	 * @throws IOException
	 *           any IO errors
	 */
Load cache entries from file. Each cached entry is saved with a timeout
timestamp. If the timeout is already expired, the entry is skipped.

@param file
file to load cache entries from
@return number of entries saved
@throws IOException
any IO errors
Load cache entries from file . Each cached entry is saved with a timeout timestamp . If the timeout is already expired the entry is skipped . @param file file to load cache entries from @return number of entries saved @throws IOException any IO errors
public int loadCache(String file) throws IOException {
		File f = new File(file);
		if (f.canRead() == false) {
			return 0;
		}
		final BufferedReader in = new BufferedReader(new FileReader(f));
		return loadCache(in);
	}
public int loadCache ( String file ) throws IOException { File f = new File ( file ) ; if ( f . canRead ( ) == false ) { return 0 ; } final BufferedReader in = new BufferedReader ( new FileReader ( f ) ) ; return loadCache ( in ) ; }
Load cache entries from file.
Load cache entries from file .