public final class RelayConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RelayConfig.BridgeConfig |
static class |
RelayConfig.ForwardConfig |
static class |
RelayConfig.ProgrammaticBridgeConfig |
static class |
RelayConfig.PropertiesBridgeConfig |
static class |
RelayConfig.SiteConfig |
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
BRIDGE |
protected static java.lang.String |
BRIDGES |
protected static java.lang.String |
FORWARD |
protected static java.lang.String |
FORWARDS |
protected static java.lang.String |
RELAY_CONFIG |
protected static java.lang.String |
SITE |
protected static java.lang.String |
SITES |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
protected static void |
match(java.lang.String expected_name,
java.lang.String name,
boolean is_element) |
static void |
parse(java.io.InputStream input,
java.util.Map<java.lang.String,RelayConfig.SiteConfig> map)
Parses site names and their configuration (e.g.
|
static void |
parse(org.w3c.dom.Node root,
java.util.Map<java.lang.String,RelayConfig.SiteConfig> map) |
protected static void |
parseBridges(RelayConfig.SiteConfig site_config,
org.w3c.dom.Node root) |
protected static void |
parseBridgesAndForwards(RelayConfig.SiteConfig site_config,
org.w3c.dom.Node root) |
protected static void |
parseForwards(RelayConfig.SiteConfig site_config,
org.w3c.dom.Node root) |
protected static void |
parseSites(java.util.Map<java.lang.String,RelayConfig.SiteConfig> map,
org.w3c.dom.Node root) |
protected static final java.lang.String RELAY_CONFIG
protected static final java.lang.String SITES
protected static final java.lang.String SITE
protected static final java.lang.String BRIDGES
protected static final java.lang.String BRIDGE
protected static final java.lang.String FORWARDS
protected static final java.lang.String FORWARD
public static void parse(java.io.InputStream input, java.util.Map<java.lang.String,RelayConfig.SiteConfig> map) throws java.lang.Exception
java.lang.Exception
public static void parse(org.w3c.dom.Node root, java.util.Map<java.lang.String,RelayConfig.SiteConfig> map) throws java.lang.Exception
java.lang.Exception
protected static void parseSites(java.util.Map<java.lang.String,RelayConfig.SiteConfig> map, org.w3c.dom.Node root) throws java.lang.Exception
java.lang.Exception
protected static void parseBridgesAndForwards(RelayConfig.SiteConfig site_config, org.w3c.dom.Node root) throws java.lang.Exception
java.lang.Exception
protected static void parseBridges(RelayConfig.SiteConfig site_config, org.w3c.dom.Node root) throws java.lang.Exception
java.lang.Exception
protected static void parseForwards(RelayConfig.SiteConfig site_config, org.w3c.dom.Node root) throws java.lang.Exception
java.lang.Exception
protected static void match(java.lang.String expected_name, java.lang.String name, boolean is_element) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright © 1998-2020 Red Hat. All Rights Reserved.