Package net.risesoft.y9public.service
Interface StoreService
-
public interface StoreService
-
-
Method Summary
All Methods Instance Methods Abstract 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
void deleteFile(String fullPath, String realFileName) throws Exception
- Throws:
Exception
-
getStoreType
net.risesoft.enums.FileStoreTypeEnum getStoreType()
-
retrieveFileBytes
byte[] retrieveFileBytes(String fullPath, String realFileName) throws Exception
- Throws:
Exception
-
retrieveFileStream
void retrieveFileStream(String fullPath, String realFileName, OutputStream outputStream) throws Exception
- Throws:
Exception
-
storeFile
void storeFile(String fullPath, String realFileName, byte[] bytes) throws Exception
- Throws:
Exception
-
storeFile
void storeFile(String fullPath, String realFileName, InputStream inputStream) throws Exception
- Throws:
Exception
-
-