public class FastDFSRepository extends Object implements Repository
因fastdfs-client未发布到maven中央库,本包中集成了其代码,请使用者遵守原代码的协议 Created by davidoff shen on 2016-12-14.
| 限定符和类型 | 字段和说明 |
|---|---|
static org.coodex.util.Profile |
ATTACHMENT_PROFILE |
| 构造器和说明 |
|---|
FastDFSRepository() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
delete(Set<String> attachmentIds) |
void |
delete(String attachmentId) |
AttachmentEntityInfo |
get(String attachmentId) |
AttachmentEntityInfo |
put(InputStream content,
AttachmentInfo metaInfo) |
protected void |
update(AttachmentEntityInfo entityInfo) |
void |
updateInfo(String attachmentId,
AttachmentInfo metaInfo) |
void |
writeTo(String attachmentId,
OutputStream outputStream,
int speedLimit) |
public AttachmentEntityInfo put(InputStream content, AttachmentInfo metaInfo)
put 在接口中 Repositoryprotected void update(AttachmentEntityInfo entityInfo)
public void updateInfo(String attachmentId, AttachmentInfo metaInfo)
updateInfo 在接口中 Repositorypublic void delete(String attachmentId)
delete 在接口中 Repositorypublic void delete(Set<String> attachmentIds)
delete 在接口中 Repositorypublic AttachmentEntityInfo get(String attachmentId)
get 在接口中 Repositorypublic void writeTo(String attachmentId, OutputStream outputStream, int speedLimit)
writeTo 在接口中 RepositoryCopyright © 2017. All rights reserved.