Interface Exporter


@Beta public interface Exporter
The Exporter is used to export a single store entry to an OutputStream.

This interface is not yet finalized and might change in the upcoming versions.

Since:
2.13.0
  • Method Summary

    Modifier and Type
    Method
    Description
    put(String name, long size)
    Returns the OutputStream that should be used to export a single store entry with the given name.
  • Method Details

    • put

      OutputStream put(String name, long size) throws IOException
      Returns the OutputStream that should be used to export a single store entry with the given name.
      Parameters:
      name - The name of the exported store entry.
      size - The size of the exported store entry (the size of the bytes that will be written to the output stream).
      Returns:
      The output stream the raw data of the store entry must be written to.
      Throws:
      IOException