public class BundleTransformer extends java.lang.Object implements ArtifactUrlTransformer
Constructor and Description |
---|
BundleTransformer() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(java.io.File artifact)
Returns true if the listener can process the given artifact.
|
java.net.URL |
transform(java.net.URL artifact)
Process the given file (canHandle returned true previously)
Can return
|
public boolean canHandle(java.io.File artifact)
ArtifactListener
canHandle
in interface ArtifactListener
artifact
- the artifact to checktrue
if this listener supports
the given artifact, false
otherwisepublic java.net.URL transform(java.net.URL artifact)
ArtifactUrlTransformer
transform
in interface ArtifactUrlTransformer
Copyright © 2006-2015 The Apache Software Foundation. All Rights Reserved.