com.liferay.portal.kernel.template
Class URLTemplateResource
java.lang.Object
com.liferay.portal.kernel.template.URLTemplateResource
- All Implemented Interfaces:
- TemplateResource, java.io.Externalizable, java.io.Serializable
public class URLTemplateResource
- extends java.lang.Object
- implements TemplateResource
- Author:
- Tina Tian
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
URLTemplateResource
public URLTemplateResource()
- The empty constructor is required by
Externalizable. Do
not use this for any other purpose.
URLTemplateResource
public URLTemplateResource(java.lang.String templateId,
java.net.URL templateURL)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getLastModified
public long getLastModified()
- Specified by:
getLastModified in interface TemplateResource
getReader
public java.io.Reader getReader()
throws java.io.IOException
- Specified by:
getReader in interface TemplateResource
- Throws:
java.io.IOException
getTemplateId
public java.lang.String getTemplateId()
- Specified by:
getTemplateId in interface TemplateResource
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
readExternal
public void readExternal(java.io.ObjectInput objectInput)
throws java.io.IOException
- Specified by:
readExternal in interface java.io.Externalizable
- Throws:
java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput objectOutput)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable
- Throws:
java.io.IOException