Package org.oddjob.io
Class FileType
java.lang.Object
org.oddjob.io.FileType
- All Implemented Interfaces:
Serializable,ArooaValue
- Author:
- Rob Gordon.
- See Also:
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.This type always resolves the canonical file name.
Example
Set theCopyJob file copy example.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileType
public FileType()
-
-
Method Details
-
getFile
Getter for file.- Returns:
-
toCanonicalFile
The Canonical form of the file.- Returns:
- The Canonical form.
- Throws:
IOException
-
setFile
Set the file.- Parameters:
file- The file.- Throws:
IOException
-
toString
-