Module jpms_dss_document
Class AbstractResourcesHandler
java.lang.Object
eu.europa.esig.dss.signature.resources.AbstractResourcesHandler
- All Implemented Interfaces:
eu.europa.esig.dss.spi.signature.resources.DSSResourcesHandler,Closeable,AutoCloseable
- Direct Known Subclasses:
InMemoryResourcesHandler,TempFileResourcesHandler
public abstract class AbstractResourcesHandler
extends Object
implements eu.europa.esig.dss.spi.signature.resources.DSSResourcesHandler
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 instanceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.europa.esig.dss.spi.signature.resources.DSSResourcesHandler
writeToDSSDocument
-
Constructor Details
-
AbstractResourcesHandler
protected AbstractResourcesHandler()Default constructor instantiating object with null OutputStream
-
-
Method Details
-
createOutputStream
- Specified by:
createOutputStreamin interfaceeu.europa.esig.dss.spi.signature.resources.DSSResourcesHandler- 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
-