Interface MongoDbGridFSIO.WriteFn<T>

All Superinterfaces:
Serializable
Enclosing class:
MongoDbGridFSIO

public static interface MongoDbGridFSIO.WriteFn<T> extends Serializable
Function that is called to write the data to the give GridFS OutputStream.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(T output, OutputStream outStream)
    Output the object to the given OutputStream.
  • Method Details

    • write

      void write(T output, OutputStream outStream) throws IOException
      Output the object to the given OutputStream.
      Parameters:
      output - The data to output
      outStream - The OutputStream
      Throws:
      IOException