Package org.eolang.jeo
Class Caching
- java.lang.Object
-
- org.eolang.jeo.Caching
-
- All Implemented Interfaces:
Transformation
public final class Caching extends Object implements Transformation
Cached transformation.- Since:
- 0.6
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Path
source()
The path to the file to be transformed.Path
target()
The path to the transformed file.byte[]
transform()
Transform the file.
-
-
-
Method Detail
-
source
public Path source()
Description copied from interface:Transformation
The path to the file to be transformed.- Specified by:
source
in interfaceTransformation
- Returns:
- Path to the file.
-
target
public Path target()
Description copied from interface:Transformation
The path to the transformed file.- Specified by:
target
in interfaceTransformation
- Returns:
- Path to the transformed file.
-
transform
public byte[] transform()
Description copied from interface:Transformation
Transform the file.- Specified by:
transform
in interfaceTransformation
- Returns:
- Transformed file.
-
-