From 57209a88e96755b0544bbd35b24bd874a33e74b6 Mon Sep 17 00:00:00 2001 From: jinno Yun Date: Fri, 20 Sep 2024 14:58:28 +0900 Subject: [PATCH] =?UTF-8?q?#21=20refactor:=20pdfKey=20=EA=B4=80=EB=A0=A8?= =?UTF-8?q?=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20=EB=A9=94=EC=84=9C?= =?UTF-8?q?=EB=93=9C=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/web3/s3Storage/service/S3StorageService.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/web3-credential-server/src/main/java/web3/s3Storage/service/S3StorageService.java b/web3-credential-server/src/main/java/web3/s3Storage/service/S3StorageService.java index f1e8491..7f35a7e 100644 --- a/web3-credential-server/src/main/java/web3/s3Storage/service/S3StorageService.java +++ b/web3-credential-server/src/main/java/web3/s3Storage/service/S3StorageService.java @@ -341,17 +341,6 @@ public ResponseInputStream getPdf(String pdfUrl) { .build(); return s3Client.getObject(getObjectRequest); } - - public String getPageByKey(HashMap metadata, String key) { - return metadata.get(key); - } - - - - private String generateFileName(String originalFileName) { - return UUID.randomUUID().toString() + "-" + originalFileName; - } - private String extractKeyFromUrl(String url) { // Assuming the URL is in the format: https://s3.ap-northeast-2.amazonaws.com/bucketName/fileName int index = url.lastIndexOf('/');