Class BaseUrlSource
- java.lang.Object
-
- technology.dice.dicewhere.downloader.source.BaseUrlSource
-
- All Implemented Interfaces:
FileSource
- Direct Known Subclasses:
IpInfoSiteSource,MaxmindSiteSource
public abstract class BaseUrlSource extends Object implements FileSource
-
-
Field Summary
Fields Modifier and Type Field Description protected URLdataFileLocationprotected FileInfofileInfo
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseUrlSource(URL dataFileLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MD5Checksumproduce(FileAcceptor acceptor)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface technology.dice.dicewhere.downloader.source.FileSource
fileInfo
-
-
-
-
Constructor Detail
-
BaseUrlSource
protected BaseUrlSource(URL dataFileLocation)
-
-
Method Detail
-
produce
public MD5Checksum produce(FileAcceptor acceptor)
- Specified by:
producein interfaceFileSource
-
-