Class TempFileResourcesHandler

java.lang.Object
eu.europa.esig.dss.signature.resources.AbstractResourcesHandler
eu.europa.esig.dss.signature.resources.TempFileResourcesHandler
All Implemented Interfaces:
DSSResourcesHandler, Closeable, AutoCloseable

public class TempFileResourcesHandler extends AbstractResourcesHandler
This resources factory stores temporary documents to a unique file within filesystem. Removes temporary files on exit, unless they have been used within a eu.europa.esig.dss.model.FileDocument.
  • Constructor Details

    • TempFileResourcesHandler

      public TempFileResourcesHandler(String fileNamePrefix, String fileNameSuffix, File tempFileDirectory)
      Default constructor
      Parameters:
      fileNamePrefix - String filename prefix string
      fileNameSuffix - String filename suffix string
      tempFileDirectory - File representing a directory to store temporary documents in
  • Method Details