org.apache.ftpserver.util
Class SocketAddressEncoder
java.lang.Object
org.apache.ftpserver.util.SocketAddressEncoder
public class SocketAddressEncoder
- extends Object
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
- Author:
- Apache MINA Project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketAddressEncoder
public SocketAddressEncoder()
decode
public static InetSocketAddress decode(String str)
throws UnknownHostException
- Throws:
UnknownHostException
encode
public static String encode(InetSocketAddress address)
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.