@API(value=Experimental) public class DirectorySource extends java.lang.Object implements FileSystemSource
TestSource.| Constructor and Description |
|---|
DirectorySource(java.io.File directory)
Create a new
DirectorySource using the supplied
directory. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
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 DirectorySource(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