Class InputStreamContentFactory
java.lang.Object
org.kopi.ebics.io.InputStreamContentFactory
- All Implemented Interfaces:
Serializable, ContentFactory
Input stream content factory that delivers the its content
as an
InputStream
This object is serializable in a way to recover interrupted
file transfers.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newContentFactoryfrom an input stream -
Method Summary
Modifier and TypeMethodDescriptionReturns a new data source of the data to be sent.
-
Constructor Details
-
InputStreamContentFactory
Creates a newContentFactoryfrom an input stream- Parameters:
input- the given input stream.
-
-
Method Details
-
getContent
Description copied from interface:ContentFactoryReturns a new data source of the data to be sent. The instance must ensure that the returned stream will deliver the identical data during the lifetime of this instance. Nevertheless, how often the method will be called.- Specified by:
getContentin interfaceContentFactory- Returns:
- a new data source of the data to be sent.
- Throws:
IOException
-