public class URLTemplateResource extends Object implements TemplateResource
| Constructor and Description |
|---|
URLTemplateResource()
The empty constructor is required by
Externalizable. |
URLTemplateResource(String templateId,
URL templateURL) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
long |
getLastModified() |
Reader |
getReader() |
String |
getTemplateId() |
int |
hashCode() |
void |
readExternal(ObjectInput objectInput) |
void |
writeExternal(ObjectOutput objectOutput) |
public URLTemplateResource()
Externalizable. Do
not use this for any other purpose.public URLTemplateResource(String templateId,
URL templateURL)
public boolean equals(Object object)
equals in class Objectpublic long getLastModified()
getLastModified in interface TemplateResourcepublic Reader getReader()
throws IOException
getReader in interface TemplateResourceIOExceptionpublic String getTemplateId()
getTemplateId in interface TemplateResourcepublic int hashCode()
hashCode in class Objectpublic void readExternal(ObjectInput objectInput)
throws IOException
readExternal in interface ExternalizableIOExceptionpublic void writeExternal(ObjectOutput objectOutput)
throws IOException
writeExternal in interface ExternalizableIOException