Class StringTemplateResource
Object
com.liferay.portal.kernel.template.StringTemplateResource
- All Implemented Interfaces:
TemplateResource
,Externalizable
,Serializable
- Author:
- Tina Tian
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionThe empty constructor is required byExternalizable
.StringTemplateResource
(String templateId, String templateContent) -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
int
hashCode()
void
readExternal
(ObjectInput objectInput) void
writeExternal
(ObjectOutput objectOutput)
-
Constructor Details
-
StringTemplateResource
public StringTemplateResource()The empty constructor is required byExternalizable
. Do not use this for any other purpose. -
StringTemplateResource
-
-
Method Details
-
equals
-
getContent
-
getLastModified
public long getLastModified()- Specified by:
getLastModified
in interfaceTemplateResource
-
getReader
- Specified by:
getReader
in interfaceTemplateResource
-
getTemplateId
- Specified by:
getTemplateId
in interfaceTemplateResource
-
hashCode
public int hashCode() -
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
ClassNotFoundException
IOException
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-