Class Summary

  • All Implemented Interfaces:
    Translator

    public final class Summary
    extends Object
    implements Translator
    Translation summary log.

    This class wraps a translator and provides summary logging functionality. It logs the start and end of the translation process, including the number of files processed and the total time taken.

    Since:
    0.2.0
    • Method Detail

      • apply

        public Stream<Path> apply​(Stream<Path> representations)
        Description copied from interface: Translator
        Apply the translation for all representations.
        Specified by:
        apply in interface Translator
        Parameters:
        representations - Stream of intermediate representations to translate
        Returns:
        Stream of translated intermediate representations