Package net.i2p.i2ptunnel.access
Class FilterDefinitionElement
java.lang.Object
net.i2p.i2ptunnel.access.FilterDefinitionElement
- Direct Known Subclasses:
ExplicitFilterDefinitionElement
,FileFilterDefinitionElement
Base class for elements found in filter definition files
- Since:
- 0.9.40
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static Hash
fromBase32
(String b32) Utility method to create a Hash object from a .b32 string(package private) Threshold
(package private) abstract void
update
(Map<Hash, DestTracker> map) Updates the provided map with the hash(es) of remote destinations mentioned in this element
-
Field Details
-
threshold
-
-
Constructor Details
-
FilterDefinitionElement
FilterDefinitionElement(Threshold threshold)
-
-
Method Details
-
update
Updates the provided map with the hash(es) of remote destinations mentioned in this element- Throws:
IOException
-
getThreshold
Threshold getThreshold() -
fromBase32
Utility method to create a Hash object from a .b32 string- Throws:
InvalidDefinitionException
-