Package de.xima.fc.prompt.service
Interface IPromptStoredData
-
- All Known Implementing Classes:
DefaultPromptStoredData
public interface IPromptStoredDataRepresents the result ofIPromptFileStorage.storeBinaryData(InputStream), i.e. stored binary data, together with the size of the stored data.- Since:
- 8.5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intfileSize()Gets the size of the stored file in bytes.ISerializableInputStreamSupplierinputStreamSupplier()Gets the supplier for the input stream that can be used to read the stored binary data.
-
-
-
Method Detail
-
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.
-
-