|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.ftp.HostPortList
Utility class for parsing and converting host-port information from SPAS and SPOR FTP commands. Represents a list of host-port pairs.
| Constructor Summary | |
HostPortList()
Creates an empty list |
|
HostPortList(String spasReplyMsg)
Parses host-port from the reply to SPAS command. |
|
| Method Summary | |
void |
add(HostPort hp)
Adds an element to the list |
HostPort |
get(int index)
|
static HostPortList |
parseIPv4Format(String message)
|
static HostPortList |
parseIPv6Format(String message)
|
int |
size()
|
String |
toFtpCmdArgument()
Returns the host-port infromation in the format used by SPOR command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HostPortList(String spasReplyMsg)
spasReplyMsg - reply message for the SPAS commandpublic HostPortList()
| Method Detail |
public void add(HostPort hp)
public int size()
public HostPort get(int index)
public String toFtpCmdArgument()
public static HostPortList parseIPv6Format(String message)
public static HostPortList parseIPv4Format(String message)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||