docs(docstrings): add docstrings to public method interfaces (#25)
- Resolves #18 Reviewed-on: #25
This commit was merged in pull request #25.
This commit is contained in:
@@ -26,6 +26,14 @@ public class MetadataService {
|
||||
this.commandRunner = commandRunner;
|
||||
}
|
||||
|
||||
/**
|
||||
* Probes a video file with ffprobe and returns its metadata (duration, dimensions, fps, size).
|
||||
* <p>
|
||||
* Runs asynchronously; failures complete the returned future exceptionally rather than throwing.
|
||||
*
|
||||
* @param file the video file to probe
|
||||
* @return a future completing with the parsed {@link ClipOptions}, or exceptionally on failure
|
||||
*/
|
||||
@Async("ffmpegTaskExecutor")
|
||||
public CompletableFuture<ClipOptions> getVideoMetadata(Path file) {
|
||||
logger.info("Getting metadata for file {}", file);
|
||||
|
||||
Reference in New Issue
Block a user