src/main/java/gov/usgs/cida/pubs/transform/DelimitedTransformer.java
protected void writeData(Map<?, ?> result) throws IOException {
		boolean firstPass = true;
		for (Entry<?, ?> entry: result.entrySet()) {
			if (null != getMappedName(entry)) {
				if (firstPass) {
					firstPass = false;
				} else {
					copyString(delimiter);
				}
				Object value = entry.getValue();
				if (null != value) {
					String stringValue = delimiter == TAB ? value.toString().replace(LF, SPACE).replace(CR, SPACE).replace(TAB, SPACE) : value.toString();
					copyString(StringEscapeUtils.escapeCsv(stringValue));
				}
			}
		}
		endRow();
	}
/**
	 * Write the data.
	 * 
	 * @throws IOException when issues with the streaming.
	 */
Write the data.

@throws IOException when issues with the streaming.
Write the data . @throws IOException when issues with the streaming .
protected void writeData(Map<?, ?> result) throws IOException {
		boolean firstPass = true;
		for (Entry<?, ?> entry: result.entrySet()) {
			if (null != getMappedName(entry)) {
				if (firstPass) {
					firstPass = false;
				} else {
					copyString(delimiter);
				}
				Object value = entry.getValue();
				if (null != value) {
					String stringValue = delimiter == TAB ? value.toString().replace(LF, SPACE).replace(CR, SPACE).replace(TAB, SPACE) : value.toString();
					copyString(StringEscapeUtils.escapeCsv(stringValue));
				}
			}
		}
		endRow();
	}
protected void writeData ( Map < ? , ? > result ) throws IOException { boolean firstPass = true ; for ( Entry < ? , ? > entry : result . entrySet ( ) ) { if ( null != getMappedName ( entry ) ) { if ( firstPass ) { firstPass = false ; } else { copyString ( delimiter ) ; } Object value = entry . getValue ( ) ; if ( null != value ) { String stringValue = delimiter == TAB ? value . toString ( ) . replace ( LF , SPACE ) . replace ( CR , SPACE ) . replace ( TAB , SPACE ) : value . toString ( ) ; copyString ( StringEscapeUtils . escapeCsv ( stringValue ) ) ; } } } endRow ( ) ; }
Write the data.
Write the data .