p.setProperty("url." + prefsIndex, getStUrlString()); p.setProperty("username." + prefsIndex, getUsername());
p.setProperty("url." + prefsIndex, stUrlString); p.setProperty("username." + prefsIndex, username);
	public void writeToProperties(PropertiesFile p) {		Log.log(Log.TRACE, MODULE, "Wrote to properties: " + toString() );		p.setProperty("url." + prefsIndex, getStUrlString());		p.setProperty("username." + prefsIndex, getUsername());		if (getPassword() != null && p.getBooleanProperty("savePasswords")) {			p.setBase64Property("password." + prefsIndex, getPassword());		} else {			p.remove("password." + prefsIndex);		}		p.setProperty("type." + prefsIndex, types[getType()]);		if (pnLoginUrlString != null) {			p.setProperty("pnLoginUrl." + prefsIndex, pnLoginUrlString);		}		if (pnGalleryUrlString != null) {			p.setProperty("pnGalleryUrl." + prefsIndex, pnGalleryUrlString);		}	}