use of com.qiwenshare.ufop.operation.delete.Deleter 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);
}
Aggregations