Package de.xima.fc.common.function
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
AnIInputStreamSupplierthat 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamopen()Opens the input stream.-
Methods inherited from interface de.xima.fc.common.function.IInputStreamSupplier
tryGet
-
Methods inherited from interface de.xima.fc.interfaces.IThrowingSupplier
get
-
-
-
-
Method Detail
-
open
InputStream open() throws IOException
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.
-
-