Search in sources :

Example 1 with DeleteFile

use of com.qiwenshare.ufop.operation.delete.domain.DeleteFile in project qiwen-file by qiwenshare.

the class FiletransferService method deleteFile.

@Override
public void deleteFile(FileBean fileBean) {
    Deleter deleter = null;
    deleter = ufopFactory.getDeleter(fileBean.getStorageType());
    DeleteFile deleteFile = new DeleteFile();
    deleteFile.setFileUrl(fileBean.getFileUrl());
    deleter.delete(deleteFile);
}
Also used : Deleter(com.qiwenshare.ufop.operation.delete.Deleter) DeleteFile(com.qiwenshare.ufop.operation.delete.domain.DeleteFile)

Aggregations

Deleter (com.qiwenshare.ufop.operation.delete.Deleter)1 DeleteFile (com.qiwenshare.ufop.operation.delete.domain.DeleteFile)1