类 LocalStoreServiceImpl
- java.lang.Object
-
- net.risesoft.y9public.service.impl.LocalStoreServiceImpl
-
- 所有已实现的接口:
StoreService
public class LocalStoreServiceImpl extends Object implements StoreService
-
-
构造器概要
构造器 构造器 说明 LocalStoreServiceImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddeleteFile(String fullPath, String realFileName)net.risesoft.enums.FileStoreTypeEnumgetStoreType()byte[]retrieveFileBytes(String fullPath, String realFileName)voidretrieveFileStream(String fullPath, String realFileName, OutputStream outputStream)voidstoreFile(String fullPath, String realFileName, byte[] bytes)voidstoreFile(String fullPath, String realFileName, InputStream inputStream)
-
-
-
方法详细资料
-
deleteFile
public void deleteFile(String fullPath, String realFileName) throws Exception
- 指定者:
deleteFile在接口中StoreService- 抛出:
Exception
-
getStoreType
public net.risesoft.enums.FileStoreTypeEnum getStoreType()
- 指定者:
getStoreType在接口中StoreService
-
retrieveFileBytes
public byte[] retrieveFileBytes(String fullPath, String realFileName) throws Exception
- 指定者:
retrieveFileBytes在接口中StoreService- 抛出:
Exception
-
retrieveFileStream
public void retrieveFileStream(String fullPath, String realFileName, OutputStream outputStream) throws Exception
- 指定者:
retrieveFileStream在接口中StoreService- 抛出:
Exception
-
storeFile
public void storeFile(String fullPath, String realFileName, byte[] bytes) throws Exception
- 指定者:
storeFile在接口中StoreService- 抛出:
Exception
-
storeFile
public void storeFile(String fullPath, String realFileName, InputStream inputStream) throws Exception
- 指定者:
storeFile在接口中StoreService- 抛出:
Exception
-
-