public class DefaultUrlSource extends BaseSource implements UrlSource
UrlSource
interface.
The ID is the URL as a string.
The method BaseSource.getLastModified()
always returns 0.
id
Constructor and Description |
---|
DefaultUrlSource(URL url)
constructor from URL.
|
Modifier and Type | Method and Description |
---|---|
URL |
getUrl()
gets the script URL.
|
equals, getId, getLastModified, hashCode, toString
public DefaultUrlSource(URL url)
url
- URLNullPointerException
- if URL is null