org.oddjob.io
Class FileType
java.lang.Object
org.oddjob.io.FileType
- All Implemented Interfaces:
- ArooaValue
public class FileType
- extends Object
- implements ArooaValue
Description
Specify a file. In addition to being useful for
configuring a job property that requires a file, this type can be used
wherever an input or output is required.
Example
Set the CopyJob file copy example.- Author:
- Rob Gordon.
FileType
public FileType()
getFile
public File getFile()
setFile
public void setFile(File file)
- Set the file.
- Parameters:
file - The file.
toString
public String toString()
- Overrides:
toString in class Object