@NonNull
    public static IConnector getConnectorByName(final String connectorName) {
        for (final IConnector connector : CONNECTORS) {
            if (StringUtils.equals(connectorName, connector.getName())) {
                return connector;
            }
        }
        // in case of errors, take UNKNOWN to avoid null checks everywhere
        return UNKNOWN_CONNECTOR;
    }
Obtain the connector by it's name.
If connector is not found, return UNKNOWN_CONNECTOR.

@param connectorName connector name String
@return The connector matching name
main/src/main/java/cgeo/geocaching/connector/ConnectorFactory.java