Package org.eclipse.aether.transform
Interface FileTransformer
public interface FileTransformer
Can transform a file while installing/deploying
- Since:
- 1.3.0
-
Method Summary
Modifier and TypeMethodDescriptiontransformArtifact
(Artifact artifact) Transform the target locationtransformData
(File file) Transform the data
-
Method Details
-
transformArtifact
Transform the target location- Parameters:
artifact
- the original artifact- Returns:
- the transformed artifact
-
transformData
Transform the data- Parameters:
file
- the file with the original data- Returns:
- the transformed data
- Throws:
IOException
- If an I/O error occurredTransformException
- If the file could not be transformed
-