public final class IOUtil extends Object
Modifier and Type | Method and Description |
---|---|
static InputStream |
gunzip(InputStream is) |
static InputStream |
gzip(InputStream is) |
static InputStream |
pipe(InputStream is,
IOFunction<? super OutputStream,? extends OutputStream> transform) |
static InputStream |
pipe(InputStream is,
IOFunction<? super OutputStream,? extends OutputStream> transform,
int bufferSize) |
public static InputStream pipe(InputStream is, IOFunction<? super OutputStream,? extends OutputStream> transform, int bufferSize) throws IOException
IOException
public static InputStream pipe(InputStream is, IOFunction<? super OutputStream,? extends OutputStream> transform) throws IOException
IOException
public static InputStream gzip(InputStream is) throws IOException
IOException
public static InputStream gunzip(InputStream is) throws IOException
IOException
Copyright © 2018–2020. All rights reserved.