Constructor and Description |
---|
FileDevice(java.io.File parent)
Creates a new FileDevice, using the supplied settings.
|
FileDevice(java.io.File parent,
java.lang.String prefix)
Creates a new FileDevice, using the supplied settings.
|
FileDevice(java.io.File parent,
java.lang.String prefix,
java.lang.String suffix)
Creates a new FileDevice, using the supplied settings.
|
Modifier and Type | Method and Description |
---|---|
void |
transmit(java.io.File file)
Transmits a file to the Device
|
public FileDevice(java.io.File parent, java.lang.String prefix, java.lang.String suffix)
parent
- the parent folderprefix
- the file prefixsuffix
- the file suffixjava.lang.IllegalArgumentException
- if parent is not a directorypublic FileDevice(java.io.File parent, java.lang.String prefix)
parent
- the parent folderprefix
- the file prefixjava.lang.IllegalArgumentException
- if parent is not a directorypublic FileDevice(java.io.File parent)
parent
- the parent folderjava.lang.IllegalArgumentException
- if parent is not a directory