Interface ISerializableInputStreamSupplier
- All Superinterfaces:
IInputStreamSupplier, IThrowingSupplier<InputStream>, ITypedThrowingSupplier<InputStream, Exception>, Serializable, Supplier<InputStream>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ISerializableInputStreamSupplier
extends IInputStreamSupplier, Serializable
An
IInputStreamSupplier that is serializable. When the context requires that the instance is serialized and
deserialized in a different JVM, you should not include a reference to a file on the local file system in the
serialized state. Instead, use e.g. a byte array or a URL to a remote file.- Since:
- 8.2.0
-
Method Summary
Methods inherited from interface IInputStreamSupplier
tryGetMethods inherited from interface IThrowingSupplier
get
-
Method Details
-
open
Description copied from interface:IInputStreamSupplierOpens the input stream. The caller is responsible for closing the stream.- Specified by:
openin interfaceIInputStreamSupplier- Returns:
- The input stream.
- Throws:
IOException- If an I/O error occurs while obtaining the stream.
-