com.liferay.portlet.randombibleverse.util
Class VerseConverter

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

public class VerseConverter
extends java.lang.Object
implements WebCacheable

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Constructor Summary
VerseConverter(java.lang.String location, java.lang.String versionId)
           
 
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
 

Constructor Detail

VerseConverter

public VerseConverter(java.lang.String location,
                      java.lang.String versionId)
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