Module jpms_dss_spi

Interface DSSFileLoader

All Superinterfaces:
Serializable

public interface DSSFileLoader extends Serializable
Loads files
  • Method Summary

    Modifier and Type
    Method
    Description
    eu.europa.esig.dss.model.DSSDocument
    Returns DSSDocument from the provided url
    boolean
    Removes the file from FileSystem with the given url
  • Method Details

    • getDocument

      eu.europa.esig.dss.model.DSSDocument getDocument(String url) throws eu.europa.esig.dss.model.DSSException
      Returns DSSDocument from the provided url
      Parameters:
      url - String url of the document to obtain
      Returns:
      DSSDocument retrieved document
      Throws:
      eu.europa.esig.dss.model.DSSException - in case of DataLoader error
    • remove

      boolean remove(String url)
      Removes the file from FileSystem with the given url
      Parameters:
      url - String url of the remote file location (the same what was used on file saving)
      Returns:
      TRUE when file was successfully deleted, FALSE otherwise