Package org.eclipse.aether.transform
Interface FileTransformer
-
@Deprecated public interface FileTransformer
Deprecated.Without any direct replacement for now. This API is OOM-prone, and also lacks a lot of context about transforming.Can transform a file while installing/deploying- Since:
- 1.3.0
- Author:
- Robert Scholte
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ArtifacttransformArtifact(Artifact artifact)Deprecated.Transform the target locationjava.io.InputStreamtransformData(java.io.File file)Deprecated.Transform the data
-
-
-
Method Detail
-
transformArtifact
Artifact transformArtifact(Artifact artifact)
Deprecated.Transform the target location- Parameters:
artifact- the original artifact- Returns:
- the transformed artifact
-
transformData
java.io.InputStream transformData(java.io.File file) throws java.io.IOException, TransformException
Deprecated.Transform the data- Parameters:
file- the file with the original data- Returns:
- the transformed data
- Throws:
java.io.IOException- If an I/O error occurredTransformException- If the file could not be transformed
-
-