Package de.xima.fc.common.function
Interface ISerializableInputStreamSupplier
- 
- All Superinterfaces:
 Serializable
- 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 Serializable
A supplier ofInputStreamthat 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. 
 - 
 
- 
- 
Method Detail
- 
open
InputStream open() throws IOException
Opens the input stream. The caller is responsible for closing the stream.- Returns:
 - The input stream.
 - Throws:
 IOException- If an I/O error occurs while obtaining the stream.
 
 - 
 
 -