public class NoCloseInputStream extends FilterInputStream
in
Constructor and Description |
---|
NoCloseInputStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static InputStream |
resolveInputStream(InputStream input,
boolean okToClose) |
available, mark, markSupported, read, read, read, reset, skip
public NoCloseInputStream(InputStream in)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException
public static InputStream resolveInputStream(InputStream input, boolean okToClose)
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.