Package org.eolang.jeo
Class LoggedTranslator
- java.lang.Object
-
- org.eolang.jeo.LoggedTranslator
-
- All Implemented Interfaces:
Translator
public final class LoggedTranslator extends Object implements Translator
Translation log.- Since:
- 0.2
-
-
Constructor Summary
Constructors Constructor Description LoggedTranslator(String process, String participle, Path input, Path output, Translator original)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends Representation>
apply(Collection<? extends Representation> representations)
Apply the translation for all representations.
-
-
-
Constructor Detail
-
LoggedTranslator
public LoggedTranslator(String process, String participle, Path input, Path output, Translator original)
Constructor.- Parameters:
process
- Process name.participle
- Past participle of the process.input
- From where.output
- To where.original
- Original translator.
-
-
Method Detail
-
apply
public Collection<? extends Representation> apply(Collection<? extends Representation> representations)
Description copied from interface:Translator
Apply the translation for all representations.- Specified by:
apply
in interfaceTranslator
- Parameters:
representations
- IRs to translate.- Returns:
- Translated IRs.
-
-