Package org.jnetpcap.packet.format

Examples of org.jnetpcap.packet.format.XmlFormatter


   *
   * @throws IOException
   *           Signals that an I/O exception has occurred.
   */
  public void testXmlFormatter() throws IOException {
    JFormatter out = new XmlFormatter(OUT);
   
    JPacket packet = TestUtils.getPcapPacket("tests/test-afs.pcap", 0);

    out.format(packet);
  }
View Full Code Here


   *
   * @throws IOException
   *           Signals that an I/O exception has occurred.
   */
  public void testXmlIp4RecordRouteOpt() throws IOException {
    JFormatter out = new XmlFormatter(OUT);
   
    JPacket packet = TestUtils.getPcapPacket("tests/test-icmp-recordroute-opt.pcap", 0);

    out.format(packet);
  }
View Full Code Here

TOP

Related Classes of org.jnetpcap.packet.format.XmlFormatter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.