package saker.std.api.file.location
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(
public static FileCollection | create( Creates a new FileCollection. |
From: Iterable< |
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
.