Skip to content

Commit

Permalink
#21 refactor: pdfKey 관련 불필요한 메서드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
jinno321 committed Sep 20, 2024
1 parent ceba845 commit 57209a8
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,17 +341,6 @@ public ResponseInputStream<GetObjectResponse> getPdf(String pdfUrl) {
.build();
return s3Client.getObject(getObjectRequest);
}

public String getPageByKey(HashMap<String, String> 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('/');
Expand Down

0 comments on commit 57209a8

Please sign in to comment.