Package org.eolang.jeo
Class Assembling
- java.lang.Object
-
- org.eolang.jeo.Assembling
-
- All Implemented Interfaces:
Transformation
public final class Assembling extends Object implements Transformation
Assembling transformation.This class implements the transformation process that converts XMIR representations into Java bytecode. It reads XMIR files and produces corresponding .class files in the specified target directory.
- Since:
- 0.6.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pathsource()The path to the file to be transformed.Pathtarget()The path to the transformed file.byte[]transform()Transform the file.
-
-
-
Method Detail
-
source
public Path source()
Description copied from interface:TransformationThe path to the file to be transformed.- Specified by:
sourcein interfaceTransformation- Returns:
- Path to the source file
-
target
public Path target()
Description copied from interface:TransformationThe path to the transformed file.- Specified by:
targetin interfaceTransformation- Returns:
- Path to the target file after transformation
-
transform
public byte[] transform()
Description copied from interface:TransformationTransform the file.- Specified by:
transformin interfaceTransformation- Returns:
- Transformed file content as byte array
-
-