Package com.example.blogs.app.storage
Interface FileLinkBuilder
- All Known Implementing Classes:
S3BucketLinkBuilderLocal,S3BucketLinkBuilderProd
public interface FileLinkBuilder
Interface for building file access links from storage metadata.
-
Method Summary
-
Method Details
-
buildLink
Builds a complete URL for accessing a file.- Parameters:
filePath- the storage path of the fileuuid- the unique identifier of the filefileExtension- the file extension including the dot (e.g., ".png")- Returns:
- the complete file access URL
-