src/main/java/gov/usgs/cida/pubs/transform/XlsxTransformer.java
private void copyStream(final InputStream in, final OutputStream out)
			throws IOException {
		byte[] chunk = new byte[DEFAULT_BUFFER_SIZE];
		int count;
		while ((count = in.read(chunk)) >= 0) {
			out.write(chunk, 0, count);
		}
	}
/** 
	 * Writes a byte array to the stream. 
	 * @param in the byte array to stream.
	 * @param out the stream to write it to.
	 * @throws IOException when issues with the streaming.
	 */
Writes a byte array to the stream.
@param in the byte array to stream.
@param out the stream to write it to.
@throws IOException when issues with the streaming.
Writes a byte array to the stream . @param in the byte array to stream . @param out the stream to write it to . @throws IOException when issues with the streaming .
private void copyStream(final InputStream in, final OutputStream out)
			throws IOException {
		byte[] chunk = new byte[DEFAULT_BUFFER_SIZE];
		int count;
		while ((count = in.read(chunk)) >= 0) {
			out.write(chunk, 0, count);
		}
	}
private void copyStream ( final InputStream in , final OutputStream out ) throws IOException { byte [ ] chunk = new byte [ DEFAULT_BUFFER_SIZE ] ; int count ; while ( ( count = in . read ( chunk ) ) >= 0 ) { out . write ( chunk , 0 , count ) ; } }
Writes a byte array to the stream.
Writes a byte array to the stream .