LocalFileHandle.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. package me.zhengjie.base.file;
  2. import java.io.File;
  3. import java.io.InputStream;
  4. import org.springframework.stereotype.Component;
  5. /**
  6. * 把文件上传的本地磁盘
  7. *
  8. * @author auas
  9. *
  10. */
  11. @Component
  12. public class LocalFileHandle extends AbstractFileHandle {
  13. @Override
  14. public void uploadFileStream(FileHandleVo fileHandle) throws Exception {
  15. }
  16. @Override
  17. public void uploadfilePath(FileHandleVo fileHandle) throws Exception {
  18. }
  19. @Override
  20. public InputStream getObject(String objectName) throws Exception {
  21. return null;
  22. }
  23. @Override
  24. public String getObjectUrl(String keyName) throws Exception {
  25. return null;
  26. }
  27. @Override
  28. public byte[] getByte(String fileId) throws Exception {
  29. return null;
  30. }
  31. @Override
  32. public long getSize(String keyName) throws Exception {
  33. // TODO Auto-generated method stub
  34. return 0;
  35. }
  36. @Override
  37. public String getCustomUrl(String fileKey, String filePath) throws Exception {
  38. // TODO Auto-generated method stub
  39. return null;
  40. }
  41. @Override
  42. public File getFileWithPath(String fileKey) throws Exception {
  43. return null;
  44. }
  45. }