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 obj) |
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 long getLastModified()
getLastModified in interface TemplateResourcepublic Reader getReader() throws IOException
getReader in interface TemplateResourceIOExceptionpublic String getTemplateId()
getTemplateId in interface TemplateResourcepublic void readExternal(ObjectInput objectInput) throws IOException
readExternal in interface ExternalizableIOExceptionpublic void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal in interface ExternalizableIOException