aQute.lib.io.NonClosingInputStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.bndtools.headless.build.plugin.gradle Show documentation
Show all versions of org.bndtools.headless.build.plugin.gradle Show documentation
org.bndtools.headless.build.plugin.gradle
The 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