init research
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package tech.v3.dataset;
|
||||
|
||||
|
||||
import java.io.OutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
|
||||
public class NoCloseOutputStream extends OutputStream {
|
||||
public final OutputStream stream;
|
||||
public NoCloseOutputStream(OutputStream os) {
|
||||
stream = os;
|
||||
}
|
||||
public void close() throws IOException {}
|
||||
public void fluse() throws IOException { stream.flush(); }
|
||||
public void write(byte[] b) throws IOException { stream.write(b); }
|
||||
public void write(byte[] b, int off, int len) throws IOException {
|
||||
stream.write(b,off,len);
|
||||
}
|
||||
public void write(int b) throws IOException { stream.write(b); }
|
||||
}
|
||||
Reference in New Issue
Block a user