public class SocketAddress extends Object implements Serializable
Constructor and Description |
---|
SocketAddress(String spec,
String host,
int port) |
SocketAddress(String spec,
String host,
int port,
String bind) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
formatAddress(String spec,
String host,
int port) |
static String |
formatAddress(String spec,
String host,
int port,
String bind) |
String |
getAddress() |
String |
getBind() |
String |
getHost() |
int |
getPort() |
String |
getSpec() |
int |
hashCode() |
String |
toString() |
static SocketAddress |
valueOf(String address) |
public static SocketAddress valueOf(String address) throws ParseException
ParseException
public String getAddress()
public String getSpec()
public String getHost()
public int getPort()
public String getBind()
Copyright © 2002–2025 Devexperts LLC. All rights reserved.