}
} else if (newLine) {     quote = true; }
	public void print(String value){		boolean quote = false;		if (value.length() > 0){			for (int i=0; i<value.length(); i++){				char c = value.charAt(i);				if (c=='"' || c==',' || c=='\n' || c=='\r'){					quote = true;				}			}		}		if (newLine){			newLine = false;		} else {			out.print(",");		}		if (quote){			out.print(escapeAndQuote(value));		} else {			out.print(value);		}		out.flush();	}