public static interface MongoDbGridFSIO.WriteFn<T>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
write(T output,
java.io.OutputStream outStream)
Output the object to the given OutputStream.
|
void write(T output, java.io.OutputStream outStream) throws java.io.IOException
output
- The data to outputoutStream
- The OutputStreamjava.io.IOException