@Override
	public void close() {
		logger.debug("Closing item writer");
		closeStream();
		reset();
	}
Converts the list of items to a byte array.

@param items
@return the byte array
spring-xd-hadoop/src/main/java/org/springframework/xd/batch/item/hadoop/HdfsTextItemWriter.java