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