public class NoCloseOutputStream extends OutputStream
OutputStream
that won't close underlying stream.Constructor and Description |
---|
NoCloseOutputStream(OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
write(@NotNull byte[] b) |
void |
write(@NotNull byte[] b,
int off,
int len) |
void |
write(int b) |
public NoCloseOutputStream(OutputStream out)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void write(@NotNull @NotNull byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(@NotNull @NotNull byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences