Package net.i2p.i2ptunnel.access
Class FilterDefinitionElement
java.lang.Object
net.i2p.i2ptunnel.access.FilterDefinitionElement
- Direct Known Subclasses:
ExplicitFilterDefinitionElement
,FileFilterDefinitionElement
abstract class FilterDefinitionElement extends Object
Base class for elements found in filter definition files
- Since:
- 0.9.40
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FilterDefinitionElement(Threshold threshold)
-
Method Summary
Modifier and Type Method Description protected static Hash
fromBase32(String b32)
Utility method to create a Hash object from a .b32 string(package private) Threshold
getThreshold()
(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
-
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
-