saker.standard Documentation TaskDoc JavaDoc Packages
public interface FileCollection extends Iterable<FileLocation>
Container for multiple file locations.

The interface represents a container that holds zero, one, or more file locations. The interface extends Iterable<FileLocation>.

It can be used to represent a collection of files, and can be used to accept multiple file locations as an input to tasks.

Clients shouldn't implement this interface.

Use create(Collection<extends FileLocation>) to create a new instance.

Methods
public static FileCollection
create(Collection<extends FileLocation> files)
Creates a new FileCollection.
public static FileCollection create(Collection<extends FileLocation> files) throws NullPointerException
Creates a new FileCollection.

The argument file locations will be the enclosed in the created collection.

filesThe file locations.
The created file collection.
NullPointerExceptionIf the argument is null.