com.liferay.portlet.network.util
Class WhoisConverter

java.lang.Object
  extended bycom.liferay.portlet.network.util.WhoisConverter
All Implemented Interfaces:
com.liferay.util.Cacheable, com.liferay.util.Converter, java.io.Serializable, WebCacheable

public class WhoisConverter
extends java.lang.Object
implements WebCacheable

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
static java.lang.String WHOIS_SERVER
           
static int WHOIS_SERVER_PORT
           
 
Constructor Summary
WhoisConverter(java.lang.String domain)
           
 
Method Summary
 java.lang.Object convert(java.lang.String id)
           
 long getRefreshTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WHOIS_SERVER

public static java.lang.String WHOIS_SERVER

WHOIS_SERVER_PORT

public static int WHOIS_SERVER_PORT
Constructor Detail

WhoisConverter

public WhoisConverter(java.lang.String domain)
Method Detail

convert

public java.lang.Object convert(java.lang.String id)
                         throws com.liferay.util.ConverterException
Specified by:
convert in interface com.liferay.util.Converter
Throws:
com.liferay.util.ConverterException

getRefreshTime

public long getRefreshTime()
Specified by:
getRefreshTime in interface com.liferay.util.Cacheable