Package ch.grengine.source
Class DefaultUrlSource
java.lang.Object
ch.grengine.source.BaseSource
ch.grengine.source.DefaultUrlSource
URL-based script source with content considered static,
default implementation of the
UrlSource interface.
The ID is the URL as a string.
The method BaseSource.getLastModified() always returns 0.
- Since:
- 1.0
- Author:
- Alain Stalder, Made in Switzerland.
-
Field Summary
Fields inherited from class ch.grengine.source.BaseSource
id -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.grengine.source.BaseSource
equals, getId, getLastModified, hashCode, toString
-
Constructor Details
-
DefaultUrlSource
constructor from URL.- Parameters:
url- URL- Throws:
NullPointerException- if URL is null- Since:
- 1.0
-
-
Method Details