public class CacheTemplateResource
extends Object
implements com.liferay.portal.kernel.template.TemplateResource
Constructor and Description |
---|
CacheTemplateResource()
The empty constructor is required by
Externalizable . |
CacheTemplateResource(com.liferay.portal.kernel.template.TemplateResource templateResource) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
com.liferay.portal.kernel.template.TemplateResource |
getInnerTemplateResource() |
long |
getLastModified() |
Reader |
getReader() |
String |
getTemplateId() |
int |
hashCode() |
void |
readExternal(ObjectInput objectInput) |
void |
writeExternal(ObjectOutput objectOutput) |
public CacheTemplateResource()
Externalizable
. Do
not use this for any other purpose.public CacheTemplateResource(com.liferay.portal.kernel.template.TemplateResource templateResource)
public boolean equals(Object obj)
equals
in class Object
public com.liferay.portal.kernel.template.TemplateResource getInnerTemplateResource()
public long getLastModified()
getLastModified
in interface com.liferay.portal.kernel.template.TemplateResource
public Reader getReader() throws IOException
getReader
in interface com.liferay.portal.kernel.template.TemplateResource
IOException
public String getTemplateId()
getTemplateId
in interface com.liferay.portal.kernel.template.TemplateResource
public int hashCode()
hashCode
in class Object
public void readExternal(ObjectInput objectInput) throws ClassNotFoundException, IOException
readExternal
in interface Externalizable
ClassNotFoundException
IOException
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException