return value;
}
private NetworkProxyConfiguration readNetworkProxyConfiguration( String prefix, Registry registry )
{
NetworkProxyConfiguration value = new NetworkProxyConfiguration();
String id = registry.getString( prefix + "id", value.getId() );
value.setId( id );
String protocol = registry.getString( prefix + "protocol", value.getProtocol() );
value.setProtocol( protocol );
String host = registry.getString( prefix + "host", value.getHost() );
value.setHost( host );
int port = registry.getInt( prefix + "port", value.getPort() );
value.setPort( port );
String username = registry.getString( prefix + "username", value.getUsername() );
value.setUsername( username );
String password = registry.getString( prefix + "password", value.getPassword() );
value.setPassword( password );
return value;
}