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