|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.util.SocketAddressEncoder
public class SocketAddressEncoder
Internal class, do not use directly. Encodes and decodes socket addresses (IP and port) from and to the format used with for example the PORT and PASV command
Constructor Summary | |
---|---|
SocketAddressEncoder()
|
Method Summary | |
---|---|
static java.net.InetSocketAddress |
decode(java.lang.String str)
|
static java.lang.String |
encode(java.net.InetSocketAddress address)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocketAddressEncoder()
Method Detail |
---|
public static java.net.InetSocketAddress decode(java.lang.String str) throws java.net.UnknownHostException
java.net.UnknownHostException
public static java.lang.String encode(java.net.InetSocketAddress address)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |