public interface MediaService
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseMedia |
addMaterial(String type,
File file) |
ResponseMedia |
addMaterial(String type,
Map<String,Object> description,
File file) |
ResponseMedia |
addNewsMaterial(Map<String,Object> news) |
Response |
deleteMaterial(Map<String,Object> material) |
ResponseMedia |
getMaterial(Map<String,Object> material) |
Response |
getMedia(String mediaId,
File file) |
ResponseMedia |
uploadMedia(String type,
File file) |
ResponseMedia uploadMedia(String type, File file) throws IOException
Response getMedia(String mediaId, File file) throws IOException
ResponseMedia addNewsMaterial(Map<String,Object> news) throws IOException
ResponseMedia addMaterial(String type, File file) throws IOException
ResponseMedia addMaterial(String type, Map<String,Object> description, File file) throws IOException
ResponseMedia getMaterial(Map<String,Object> material) throws IOException
Response deleteMaterial(Map<String,Object> material) throws IOException
Copyright © 2015. All rights reserved.