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 URLTemplateResource(String templateId, URL templateURL)
public boolean equals(Object obj)
equals
in class Object
public long getLastModified()
getLastModified
in interface TemplateResource
public Reader getReader() throws IOException
getReader
in interface TemplateResource
IOException
public String getTemplateId()
getTemplateId
in interface TemplateResource
public int hashCode()
hashCode
in class Object
public void readExternal(ObjectInput objectInput) throws IOException
readExternal
in interface Externalizable
IOException
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException