public class FileUnit extends java.lang.Object implements TaskConscious, Displayer
Modifier and Type | Field and Description |
---|---|
boolean |
collection
The collection.
|
static java.lang.String |
FILE_URL
The Constant FILE_URL.
|
java.lang.String |
fileName
The file name.
|
java.lang.String |
fileProtocol
The file protocol.
|
java.lang.String |
locationString
The location string.
|
PatternCollection |
namingPattern
The naming pattern.
|
int |
numberOfFiles
The number of files.
|
boolean |
one2one
The one2one.
|
static java.lang.String |
PHYSICAL_FILE
The Constant PHYSICAL_FILE.
|
boolean |
physicalFile
The physical file.
|
Task |
task
The task.
|
Constructor and Description |
---|
FileUnit() |
Modifier and Type | Method and Description |
---|---|
void |
changeToolName(java.lang.String name)
Various getting and setting of parameters.
|
void |
displayMessage(java.lang.String string)
Display message.
|
java.util.UUID |
fileUnitProcess(java.util.List in)
File unit process.
|
java.awt.Component |
getComponent()
Gets the component.
|
java.lang.String |
getFileLocation()
Gets the file location.
|
java.lang.String |
getFileProtocol()
Gets the file protocol.
|
PatternCollection |
getNamingPattern()
Gets the naming pattern.
|
int |
getNumberOfFiles()
Gets the number of files.
|
void |
getParams()
Gets the params.
|
boolean |
isCollection()
Checks if is collection.
|
boolean |
isOne2one()
Checks if is one2one.
|
void |
setParams()
Sets the params.
|
void |
setTask(Task task) |
public static final java.lang.String PHYSICAL_FILE
public static final java.lang.String FILE_URL
public java.lang.String locationString
public boolean physicalFile
public java.lang.String fileProtocol
public int numberOfFiles
public PatternCollection namingPattern
public java.lang.String fileName
public boolean collection
public boolean one2one
public Task task
public java.util.UUID fileUnitProcess(java.util.List in)
in
- the inpublic void setParams()
public void getParams()
public void changeToolName(java.lang.String name)
name
- the namepublic PatternCollection getNamingPattern()
public boolean isCollection()
public boolean isOne2one()
public int getNumberOfFiles()
public java.lang.String getFileLocation()
public java.lang.String getFileProtocol()
public java.awt.Component getComponent()
public void setTask(Task task)
setTask
in interface TaskConscious
public void displayMessage(java.lang.String string)
Displayer
displayMessage
in interface Displayer
string
- the string