All Downloads are FREE. Search and download functionalities are using the official Maven repository.

aQute.lib.io.NonClosingInputStream Maven / Gradle / Ivy

Go to download

This framework extension fragment contains an extender that facilitates the use of JRE SPI providers (components typically plugged in to the JRE through META-INF/services resources).

There is a newer version: 1.3.7
Show newest version
package aQute.lib.io;

import java.io.FilterInputStream;
import java.io.InputStream;
import java.util.Objects;

public class NonClosingInputStream extends FilterInputStream {
	public NonClosingInputStream(InputStream in) {
		super(Objects.requireNonNull(in));
	}

	@Override
	public void close() {
		// leave the underlying InputStream open
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy