org.oddjob.io
Class FileType

java.lang.Object
  extended by 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.

Nested Class Summary
static class FileType.Conversions
           
 
Constructor Summary
FileType()
           
 
Method Summary
 File getFile()
           
 void setFile(File file)
          Set the file.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileType

public FileType()
Method Detail

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