net.spy.nmap
Class NmapPort

java.lang.Object
  extended bynet.spy.nmap.NmapPort

public class NmapPort
extends Object


Constructor Summary
NmapPort(String[] input)
          Construct an NmapPort object from an array of the stuff found within.
 
Method Summary
 int port()
          gets the port number
 String proto()
          gets the protocol (tcp, udp, etc...)
 String service()
          gets the service type (http/imap/smtp/etc...)
 String status()
          gets the status
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NmapPort

public NmapPort(String[] input)
Construct an NmapPort object from an array of the stuff found within.

Method Detail

port

public int port()
gets the port number


status

public String status()
gets the status


proto

public String proto()
gets the protocol (tcp, udp, etc...)


service

public String service()
gets the service type (http/imap/smtp/etc...)