Class Unroll

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

public final class Unroll extends Object implements Transformation
Unroll XMIR file.
Since:
0.6
  • Constructor Details

    • Unroll

      public Unroll(Path source, Path target, Path xmir)
      Constructor.
      Parameters:
      source - Source folder path.
      target - Target folder path.
      xmir - XMIR file path.
  • 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.