Class FileStorageController

java.lang.Object
net.n2oapp.framework.sandbox.cases.fileupload.FileStorageController

@Component public class FileStorageController extends Object
  • Constructor Details

  • Method Details

    • getList

      public net.n2oapp.framework.sandbox.cases.fileupload.FileStorageController.ListResponse getList()
    • getList

      public net.n2oapp.framework.sandbox.cases.fileupload.FileStorageController.ListResponse getList(String storeKey)
    • delete

      public void delete(String id)
    • delete

      public void delete(String id, String storeKey)
    • storeFile

      public FileModel storeFile(org.springframework.web.multipart.MultipartFile file, String url)
    • storeFile

      public FileModel storeFile(org.springframework.web.multipart.MultipartFile file, String url, String storeKey)
    • loadFile

      public org.springframework.core.io.Resource loadFile(String fileName)
    • loadFile

      public org.springframework.core.io.Resource loadFile(String fileName, String storeKey)
    • clear

      public void clear()