org.apache.tools.ant.types.resources

Class First

public class First extends SizeLimitCollection

ResourceCollection that contains the first count elements of another ResourceCollection, a la the UNIX head command.

Since: Ant 1.7

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

Method Detail

getCollection

protected Collection getCollection()
Take the first count elements.

Returns: a Collection of Resources.