@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 null
public final java.net.URI getUri()
URI
for the source directory.public final java.io.File getFile()
getFile
in interface FileSystemSource
null
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object