Interface IPromptStoredData

All Known Implementing Classes:
DefaultPromptStoredData

public interface IPromptStoredData
Represents the result of IPromptFileStorage.storeBinaryData(InputStream), i.e. stored binary data, together with the size of the stored data.
Since:
8.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the size of the stored file in bytes.
    Gets the supplier for the input stream that can be used to read the stored binary data.
  • Method Details

    • inputStreamSupplier

      ISerializableInputStreamSupplier inputStreamSupplier()
      Gets the supplier for the input stream that can be used to read the stored binary data. The supplier can be called multiple times, each time it will return a new input stream to the data.
      Returns:
      The supplier for the input stream.
    • fileSize

      int fileSize()
      Gets the size of the stored file in bytes.
      Returns:
      The size of the stored file.