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 TypeMethodDescriptionbooleanlonginthashCode()voidreadExternal(ObjectInput objectInput) voidwriteExternal(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:
getLastModifiedin interfaceTemplateResource
-
getReader
- Specified by:
getReaderin interfaceTemplateResource
-
getTemplateId
- Specified by:
getTemplateIdin interfaceTemplateResource
-
hashCode
public int hashCode() -
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
ClassNotFoundExceptionIOException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-