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