String tmp = null;  switch (type) { case TYPE_STANDALONE: tmp = stUrlString; break;  case TYPE_POSTNUKE: tmp = pnGalleryUrlString; break;  case TYPE_PHPNUKE: tmp = phpnGalleryUrlString; break;  default: throw new RuntimeException("Unknown type: " + type); }  if (tmp == null) { tmp = "http: }  if (tmp.length() > TOSTRING_MAXLEN) { tmp = tmp.substring(0, TOSTRING_MAXLEN) + "..."; }  return tmp;
return toString(true);
	public String toString() {		String tmp = null;		switch (type) {			case TYPE_STANDALONE:				tmp = stUrlString;				break;			case TYPE_POSTNUKE:				tmp = pnGalleryUrlString;				break;			case TYPE_PHPNUKE:				tmp = phpnGalleryUrlString;				break;			default:				throw new RuntimeException("Unknown type: " + type);		}		if (tmp == null) {			tmp = "http://";		}		if (tmp.length() > TOSTRING_MAXLEN) {			tmp = tmp.substring(0, TOSTRING_MAXLEN) + "...";		}		return tmp;	}