Class Logging

java.lang.Object
org.eolang.jeo.Logging
All Implemented Interfaces:
Transformation

public final class Logging extends Object implements Transformation
Translation that leaves a log message before and after applying the original translation.
Since:
0.6
  • Constructor Details

    • Logging

      public Logging(String process, String participle, Transformation origin)
      Constructor.
      Parameters:
      process - Process name.
      participle - Participle of the process.
      origin - Original transformation.
  • Method Details

    • source

      public Path source()
      Description copied from interface: Transformation
      The path to the file to be transformed.
      Specified by:
      source in interface Transformation
      Returns:
      Path to the file.
    • target

      public Path target()
      Description copied from interface: Transformation
      The path to the transformed file.
      Specified by:
      target in interface Transformation
      Returns:
      Path to the transformed file.
    • transform

      public byte[] transform()
      Description copied from interface: Transformation
      Transform the file.
      Specified by:
      transform in interface Transformation
      Returns:
      Transformed file.