Class TorConfiguration
java.lang.Object
org.eblocker.server.common.network.TorConfiguration
This class is responsible for writing the Tor configuration file
-
Constructor Summary
ConstructorsConstructorDescriptionTorConfiguration(String torConfigTemplateFilePath, String torConfigFilePath) -
Method Summary
-
Constructor Details
-
TorConfiguration
-
-
Method Details
-
update
-
getConfigExitNodeString
Creates a list of country codes for the Tor configuration, separated by commas, where each code is enclosed in brackets- Parameters:
countryCodes-- Returns:
- country code list for Tor configuration, e.g. {de},{fr},{no}
-