Package net.i2p.i2ptunnel.access
Class FilterFactory
- java.lang.Object
-
- net.i2p.i2ptunnel.access.FilterFactory
-
public class FilterFactory extends Object
Factory for incoming connection filters. Only public class in this package.- Since:
- 0.9.40
-
-
Constructor Summary
Constructors Constructor Description FilterFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StatefulConnectionFilter
createFilter(I2PAppContext context, File definition)
Creates an instance of IncomingConnectionFilter based on the definition contained in the given file.
-
-
-
Method Detail
-
createFilter
public static StatefulConnectionFilter createFilter(I2PAppContext context, File definition) throws IOException, InvalidDefinitionException
Creates an instance of IncomingConnectionFilter based on the definition contained in the given file.- Parameters:
context
- the context this is running indefinition
- file containing the filter definition- Throws:
IOException
InvalidDefinitionException
-
-