Class LocalStoreServiceImpl
- java.lang.Object
-
- net.risesoft.y9public.service.impl.LocalStoreServiceImpl
-
- All Implemented Interfaces:
StoreService
public class LocalStoreServiceImpl extends Object implements StoreService
-
-
Constructor Summary
Constructors Constructor Description LocalStoreServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Method Detail
-
deleteFile
public void deleteFile(String fullPath, String realFileName) throws Exception
- Specified by:
deleteFilein interfaceStoreService- Throws:
Exception
-
getStoreType
public net.risesoft.enums.FileStoreTypeEnum getStoreType()
- Specified by:
getStoreTypein interfaceStoreService
-
retrieveFileBytes
public byte[] retrieveFileBytes(String fullPath, String realFileName) throws Exception
- Specified by:
retrieveFileBytesin interfaceStoreService- Throws:
Exception
-
retrieveFileStream
public void retrieveFileStream(String fullPath, String realFileName, OutputStream outputStream) throws Exception
- Specified by:
retrieveFileStreamin interfaceStoreService- Throws:
Exception
-
storeFile
public void storeFile(String fullPath, String realFileName, byte[] bytes) throws Exception
- Specified by:
storeFilein interfaceStoreService- Throws:
Exception
-
storeFile
public void storeFile(String fullPath, String realFileName, InputStream inputStream) throws Exception
- Specified by:
storeFilein interfaceStoreService- Throws:
Exception
-
-