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.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void close()
InputStream and closes the potentially present OutputStream. The
GridFS file will be persisted afterwards.close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStream