Code example for Properties

Methods: clone

0
  } 
 
  public AuthenticationData (final AuthenticationData data)
  { 
    this.url = data.url;
    this.properties = (Properties) data.properties.clone();
    this.lastChanged = data.lastChanged;
  } 
 
  public AuthenticationData(final String baseUrl, final String username, final String password, final int timeout)
  { 
    this(baseUrl);
    setOption(AuthenticationStore.USER_KEY, username);
    setOption(AuthenticationStore.PASSWORD_KEY, password);
    setOption(AuthenticationStore.TIMEOUT_KEY, String.valueOf(timeout));
  } 
 
  public AuthenticationData(final String url,
                            final long lastChanged)
  { 
    if (url == null)