Class Streams

java.lang.Object
org.elasticsearch.core.internal.io.Streams

public class Streams extends Object
Simple utility methods for file and stream copying. All copy methods use a block size of 4096 bytes, and close all affected streams when done.

Mainly for use within the framework, but also useful for application code.