|
@@ -172,13 +172,6 @@ public class OssFileService implements FYunFileService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public String getContentType(String remoteFolderPath) throws Exception {
|
|
|
- FileNameMap fileNameMap = URLConnection.getFileNameMap();
|
|
|
- String contentType = fileNameMap.getContentTypeFor(remoteFolderPath);
|
|
|
- return contentType;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
public List<String> listRemoteFiles(String bucket, String sourcePath) throws Exception {
|
|
|
return listRemoteFiles(bucket, sourcePath, true);
|
|
|
}
|