@API(status=STABLE, since="1.0") public class DirectorySource extends Object implements FileSystemSource
TestSource
.DirectorySelector
,
Serialized FormModifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static DirectorySource |
from(File directory)
Create a new
DirectorySource using the supplied
directory. |
File |
getFile()
Get the source directory.
|
URI |
getUri()
|
int |
hashCode() |
String |
toString() |
public static DirectorySource from(File directory)
DirectorySource
using the supplied
directory.directory
- the source directory; must not be null
public final URI getUri()
public final File getFile()
getFile
in interface FileSystemSource
null