org.apache.tools.ant.taskdefs

Class CloseResources

public class CloseResources extends Task

Not a real task but used during tests. Closes the resources associated with an URL. In particular this is going to close the jars associated with a jar:file: URL - and it does so in a way that the Java VM still thinks it is open, so use it at your own risk.
Method Summary
voidadd(ResourceCollection rc)
voidexecute()

Method Detail

add

public void add(ResourceCollection rc)

execute

public void execute()