Class AbstractResourcesHandler
java.lang.Object
eu.europa.esig.dss.signature.resources.AbstractResourcesHandler
- All Implemented Interfaces:
Closeable, AutoCloseable
- Direct Known Subclasses:
InMemoryResourcesHandler, TempFileResourcesHandler
Abstract class used to create OutputStream to be used across DSS code
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor instantiating object with null OutputStream -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract OutputStreamBuildsOutputStreamvoidclose()protected OutputStreamThis method returns the internal OutputStream instanceeu.europa.esig.dss.model.DSSDocument
-
Constructor Details
-
AbstractResourcesHandler
protected AbstractResourcesHandler()Default constructor instantiating object with null OutputStream
-
-
Method Details
-
createOutputStream
- Throws:
IOException
-
buildOutputStream
BuildsOutputStream- Returns:
OutputStream- Throws:
IOException- if an error occurs while building OutputStream
-
getOutputStream
This method returns the internal OutputStream instance- Returns:
OutputStream
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
writeToDSSDocument
- Throws:
IOException
-