Package net.i2p.i2ptunnel.access
Class FileFilterDefinitionElement
- java.lang.Object
-
- net.i2p.i2ptunnel.access.FilterDefinitionElement
-
- net.i2p.i2ptunnel.access.FileFilterDefinitionElement
-
class FileFilterDefinitionElement extends FilterDefinitionElement
An element of filter definition that reads hashes of remote destinations from a file.- Since:
- 0.9.40
-
-
Field Summary
-
Fields inherited from class net.i2p.i2ptunnel.access.FilterDefinitionElement
threshold
-
-
Constructor Summary
Constructors Constructor Description FileFilterDefinitionElement(File file, Threshold threshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
update(Map<Hash,DestTracker> map)
Updates the provided map with the hash(es) of remote destinations mentioned in this element-
Methods inherited from class net.i2p.i2ptunnel.access.FilterDefinitionElement
fromBase32, getThreshold
-
-
-
-
Method Detail
-
update
public void update(Map<Hash,DestTracker> map) throws IOException
Description copied from class:FilterDefinitionElement
Updates the provided map with the hash(es) of remote destinations mentioned in this element- Specified by:
update
in classFilterDefinitionElement
- Throws:
IOException
-
-