private class GridFSInputFile.GridFSOutputStream
extends java.io.OutputStream
Modifier | Constructor and Description |
---|---|
private |
GridFSOutputStream() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Processes/saves all data from
InputStream and closes the potentially present OutputStream . |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void close()
InputStream
and closes the potentially present OutputStream
. The
GridFS file will be persisted afterwards.close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream