public interface FileTransformer
Modifier and Type | Method and Description |
---|---|
Artifact |
transformArtifact(Artifact artifact)
Transform the target location
|
java.io.InputStream |
transformData(java.io.File file)
Transform the data
|
Artifact transformArtifact(Artifact artifact)
artifact
- the original artifactjava.io.InputStream transformData(java.io.File file) throws java.io.IOException, TransformException
file
- the file with the original datajava.io.IOException
- If an I/O error occurredTransformException
- If the file could not be transformed