Class StreamUtils

java.lang.Object

org.springframework.util.StreamUtils

public abstract class StreamUtils
extends java.lang.Object

Simple utility methods for dealing with streams. The copy methods of this class are
similar to those defined in FileCopyUtils except that all affected streams are
left open when done. All copy methods use a block size of 4096 bytes.

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