Class FileService

java.lang.Object
fr.paris.lutece.portal.service.file.FileService

@ApplicationScoped public class FileService extends Object
Author:
SLE
  • Field Details

  • Constructor Details

    • FileService

      public FileService()
  • Method Details

    • getInstance

      @Deprecated(since="8.0", forRemoval=true) public static FileService getInstance()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use @Inject to obtain the FileService instance. This method will be removed in future versions.
      Returns the unique instance of the FileService service.

      This method is deprecated and is provided for backward compatibility only. For new code, use dependency injection with @Inject to obtain the FileService instance instead.

      Returns:
      The unique instance of FileService.
    • getFileStoreServiceProvider

      public IFileStoreServiceProvider getFileStoreServiceProvider()
      get the current FileStoreService provider
      Returns:
      the current FileStoreService provider
    • getFileStoreServiceProvider

      public IFileStoreServiceProvider getFileStoreServiceProvider(String strFileStoreServiceProviderName)
      get the FileStoreService provider
      Parameters:
      strFileStoreServiceProviderName -
      Returns:
      the current FileStoreService provider