src/org/jnetpcap/winpcap/WinPcap.java
public static WinPcap openOffline(String fname, StringBuilder errbuf) {
		final WinPcap r = openOffline(fname, getBuf());

		toStringBuilder(getBuf(), errbuf);

		return r;
	}
/**
	 * Open a savefile in the tcpdump/libpcap format to read packets.
	 * pcap_open_offline() is called to open a "savefile" for reading. fname
	 * specifies the name of the file to open. The file has the same format as
	 * those used by tcpdump(1) and tcpslice(1). The name "-" in a synonym for
	 * stdin. Alternatively, you may call pcap_fopen_offline() to read dumped data
	 * from an existing open stream fp. Note that on Windows, that stream should
	 * be opened in binary mode. errbuf is used to return error text and is only
	 * set when pcap_open_offline() or pcap_fopen_offline() fails and returns
	 * NULL.
	 * 
	 * @param fname
	 *          filename of the pcap file
	 * @param errbuf
	 *          any error messages in UTC8 encoding
	 * @return WinPcap structure or null if error occured
	 * @see Pcap#openOffline(String, StringBuilder)
	 */
Open a savefile in the tcpdump/libpcap format to read packets.
pcap_open_offline() is called to open a "savefile" for reading. fname
specifies the name of the file to open. The file has the same format as
those used by tcpdump(1) and tcpslice(1). The name "-" in a synonym for
stdin. Alternatively, you may call pcap_fopen_offline() to read dumped data
from an existing open stream fp. Note that on Windows, that stream should
be opened in binary mode. errbuf is used to return error text and is only
set when pcap_open_offline() or pcap_fopen_offline() fails and returns
NULL.

@param fname
filename of the pcap file
@param errbuf
any error messages in UTC8 encoding
@return WinPcap structure or null if error occured
@see Pcap#openOffline(String, StringBuilder)
Open a savefile in the tcpdump / libpcap format to read packets . pcap_open_offline () is called to open a " savefile " for reading . fname specifies the name of the file to open . The file has the same format as those used by tcpdump ( 1 ) and tcpslice ( 1 ) . The name " - " in a synonym for stdin . Alternatively you may call pcap_fopen_offline () to read dumped data from an existing open stream fp . Note that on Windows that stream should be opened in binary mode . errbuf is used to return error text and is only set when pcap_open_offline () or pcap_fopen_offline () fails and returns NULL . @param fname filename of the pcap file @param errbuf any error messages in UTC8 encoding @return WinPcap structure or null if error occured @see Pcap#openOffline ( String StringBuilder )
public static WinPcap openOffline(String fname, StringBuilder errbuf) {
		final WinPcap r = openOffline(fname, getBuf());
		toStringBuilder(getBuf(), errbuf);
		return r;
	}
public static WinPcap openOffline ( String fname , StringBuilder errbuf ) { final WinPcap r = openOffline ( fname , getBuf ( ) ) ; toStringBuilder ( getBuf ( ) , errbuf ) ; return r ; }
Open a savefile in the tcpdump/libpcap format to read packets.
Open a savefile in the tcpdump / libpcap format to read packets .