Interface RedditInputFileDTOMapper
public interface RedditInputFileDTOMapper
InputFileDTO mapper.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionMaps aLinkto anInputFileDTO.Maps aURLto anInputFileDTO.default StringmapFileName(String id) Maps the file name for the given Reddit post ID.
-
Field Details
-
MAP_FILE_NAME
-
-
Method Details
-
map
Maps aURLto anInputFileDTO.- Parameters:
url- the URL to map- Returns:
- the mapped
InputFileDTO - Throws:
IOException- if an I/O error occurs
-
map
Maps aLinkto anInputFileDTO.- Parameters:
post- the Reddit link to map- Returns:
- the mapped
InputFileDTO - Throws:
IOException- if an I/O error occurs
-
mapFileName
-