org.apache.tools.ant.types.resources

Class Last

public class Last extends SizeLimitCollection

ResourceCollection that contains the last count elements of another ResourceCollection, a la the UNIX tail command.

Since: Ant 1.7.1

Method Summary
protected CollectiongetCollection()
Take the last count elements.

Method Detail

getCollection

protected Collection getCollection()
Take the last count elements.

Returns: a Collection of Resources.